summaryrefslogtreecommitdiff
path: root/python/Makefile.am
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-02-02 15:09:20 +0000
committerChristian Persch <chpe@src.gnome.org>2009-02-02 15:09:20 +0000
commit94f13bb62629a567c2814477c7b23f01dbca2fca (patch)
tree5ebe9ec55dce52b1f5f10b42301cc6482ea4cac3 /python/Makefile.am
parent3ada3abd77c76e3582af0859995c0909c27ce1ce (diff)
Bug 570208 – vte fails to build outside source tree
* python/Makefile.am: Build fix. svn path=/trunk/; revision=2369
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 617ecd6..ea164f8 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -14,14 +14,14 @@ pythonsiteexec_LTLIBRARIES = $(PYTHON_MODULES)
CLEANFILES = vte.c
-# we do this to suport building with -Wl,-z,defs which errors on
-# vtemodule.so as we cannot include $(PYTHON_LIBS) due to bug 410986.
-AM_LDFLAGS = $(PYTHON_LDFLAGS)
-
-vtemodule_la_CFLAGS = $(VTE_CFLAGS) $(X_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
vtemodule_la_SOURCES = vtemodule.c
+vtemodule_la_CPPFLAGS = -I$(top_builddir)/src $(AM_CPPFLAGS)
+vtemodule_la_CFLAGS = $(VTE_CFLAGS) $(X_CFLAGS) $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(AM_CFLAGS)
+
+# we do this to suport building with -Wl,-z,defs which errors on
+# vtemodule.so as we cannot include $(PYTHON_LIBS) due to bug 410986.
+vtemodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initvte $(PYTHON_LDFLAGS) $(AM_LDFLAGS)
vtemodule_la_LIBADD = $(top_builddir)/src/libvte.la $(LIBS) $(PYGTK_LIBS) $(VTE_LIBS) $(X_LIBS)
-vtemodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex initvte
nodist_vtemodule_la_SOURCES = vte.c
vte.c: vte.defs vte.override