[gtk+] configure: Don't put glib version flags into pc files
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] configure: Don't put glib version flags into pc files
- Date: Mon, 21 Sep 2015 19:58:19 +0000 (UTC)
commit a59ee09af8db7255fefa26f1c0ac5b7826d2602c
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 21 20:31:03 2015 +0200
configure: Don't put glib version flags into pc files
Use a different CFLAGS variable to carry them. I chose the DEBUG_FLAGS
because that's essentially what those flags are: debug helpers.
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2338831..b096e2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,7 +360,7 @@ backend_immodules=
have_gio_unix=no
GDK_BACKENDS=
GDK_EXTRA_LIBS=
-GDK_EXTRA_CFLAGS="$GLIB_VERSION_CFLAGS"
+GDK_EXTRA_CFLAGS=
GDK_WINDOWING=
PANGO_PACKAGES="pango pangocairo"
@@ -500,6 +500,7 @@ else
GTK_DEBUG_FLAGS="-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
fi
fi
+GTK_DEBUG_FLAGS="$GTK_DEBUG_FLAGS $GLIB_VERSION_CFLAGS"
# Build time sanity check...
AM_SANITY_CHECK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]