[pygobject/gsoc2009: 111/160] Add GObject-Introspection CFLAGS and LIBS when available
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 111/160] Add GObject-Introspection CFLAGS and LIBS when available
- Date: Fri, 14 Aug 2009 21:33:04 +0000 (UTC)
commit 29ee8d51a04d2fbd8d7803a85ce6bc363e5eaa89
Author: Simon van der Linden <svdlinden src gnome org>
Date: Wed Aug 5 15:23:10 2009 +0200
Add GObject-Introspection CFLAGS and LIBS when available
gobject/Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index fa0ea20..c71afa5 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -38,11 +38,19 @@ _gobject_la_CFLAGS = \
$(FFI_CFLAGS) \
$(GLIB_CFLAGS) \
-DPY_SSIZE_T_CLEAN
+if BUILD_GOBJECT_INTROSPECTION
+_gobject_la_CFLAGS += \
+ $(GOBJECT_INTROSPECTION_CFLAGS)
+endif
_gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex "_gobject|PyInit__gobject"
_gobject_la_LIBADD = \
$(GLIB_LIBS) \
$(FFI_LIBS) \
$(top_builddir)/glib/libpyglib-2 0- PYTHON_BASENAME@.la
+if BUILD_GOBJECT_INTROSPECTION
+_gobject_la_LIBADD += \
+ $(GOBJECT_INTROSPECTION_LIBS)
+endif
_gobject_la_SOURCES = \
gobjectmodule.c \
pygboxed.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]