From 21dcb7d609d9ce3ed517c6d27e95448154abf9fa Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 3 Nov 2011 22:11:11 +0000 Subject: 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 --- cpp/bindings/qpid/python/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/bindings/qpid/python') 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) -- cgit v1.2.1