summaryrefslogtreecommitdiff
path: root/cpp/bindings/qpid/python
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-11-03 22:11:11 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-11-03 22:11:11 +0000
commit21dcb7d609d9ce3ed517c6d27e95448154abf9fa (patch)
treed892cb2e03e5aa0229b2173a383f66dd5311f8e7 /cpp/bindings/qpid/python
parent39e73a3b7b26dfa95814c3e2d569dd8522f25c2e (diff)
downloadqpid-python-21dcb7d609d9ce3ed517c6d27e95448154abf9fa.tar.gz
QPID-3464: Build Improvements (autotools) [inspired by Jan-Marek Glogowski]
- Simplified the python binding build QPID-3458: Install compiled _cqpid.so for SWIG python bindings in site-packages directory - Put the generated .pyc/.pyo and native .so in the correct place in the install tree git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1197326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/python')
-rw-r--r--cpp/bindings/qpid/python/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/bindings/qpid/python/Makefile.am b/cpp/bindings/qpid/python/Makefile.am
index dd25f34829..432fe7e764 100644
--- a/cpp/bindings/qpid/python/Makefile.am
+++ b/cpp/bindings/qpid/python/Makefile.am
@@ -32,15 +32,15 @@ SWIG_FLAGS = -w362,401
$(generated_file_list): $(srcdir)/python.i $(srcdir)/../qpid.i $(srcdir)/../../swig_python_typemaps.i
$(SWIG) -c++ -python $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I$(top_srcdir)/src/qmf -I/usr/include -o cqpid.cpp $(srcdir)/python.i
-pylibdir = $(PYTHON_LIB)
+pylibdir = $(pyexecdir)
-lib_LTLIBRARIES = _cqpid.la
-cqpiddir = $(pyexecdir)
+pylib_LTLIBRARIES = _cqpid.la
+cqpiddir = $(pythondir)
cqpid_PYTHON = cqpid.py
_cqpid_la_LDFLAGS = -avoid-version -module -shared
_cqpid_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs -lqpidmessaging -lqpidtypes $(top_builddir)/src/libqpidmessaging.la $(top_builddir)/src/libqpidtypes.la
-_cqpid_la_CXXFLAGS = $(INCLUDES) -I$(PYTHON_INC) -fno-strict-aliasing
+_cqpid_la_CXXFLAGS = $(INCLUDES) $(PYTHON_CFLAGS) -fno-strict-aliasing
nodist__cqpid_la_SOURCES = cqpid.cpp
CLEANFILES = $(generated_file_list)