summaryrefslogtreecommitdiffstats
path: root/gobject/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/Makefile.am')
-rw-r--r--gobject/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index d8e17c3..aa7cae7 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -6,16 +6,18 @@ pkgincludedir = $(includedir)/pygtk-$(PLATFORM_VERSION)
pkginclude_HEADERS = pygobject.h
pkgpyexecdir = $(pyexecdir)/gtk-2.0
-pkgpyexec_LTLIBRARIES = _gobject.la
+
+# gobject python scripts
+pygobjectdir = $(pkgpyexecdir)/gobject
+pygobject_PYTHON = __init__.py
+pygobject_LTLIBRARIES = _gobject.la
+
common_ldflags = -module -avoid-version
if PLATFORM_WIN32
common_ldflags += -no-undefined
endif
-# gobject python scripts
-pygobjectdir = $(pkgpythondir)/gtk
-pygobject_PYTHON = __init__.py
_gobject_la_CFLAGS = $(GLIB_CFLAGS)
_gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gobject