Package: pythonmagick / 0.9.11-2

001_autofoo_fixes.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: autotools related fixes
 Use python?.?-config instead of locate in python detection macro and don't link
 against libpython2.x.
 Fix python boost detection and reverse upstream's hardcoding of the lib in
 Makefile.am.
Author: Thomas Viehmann <tv@beamnet.de>
Last-Update: 2014-08-13

--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,7 @@
 _PythonMagick_la_LDFLAGS = -avoid-version -module $(BOOST_LDFLAGS)
 
 # And the libraries to include
-_PythonMagick_la_LIBADD = pythonmagick_src/libpymagick.la helpers_src/libhelper.la $(BOOST_LDFLAGS) -lboost_python $(MAGICKPP_LIBS) $(MAGICK_LIBS)
+_PythonMagick_la_LIBADD = pythonmagick_src/libpymagick.la helpers_src/libhelper.la $(BOOST_LDFLAGS) -l$(BOOST_PYTHON_LIB) $(MAGICKPP_LIBS) $(MAGICK_LIBS)
 
 EXTRA_DIST = autogen.pl SConstruct pyste_src LICENSE