]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
bug #1728: Add -avoid-version to LDFLAGS for Python modules (contd.)
authorMukund Sivaraman <muks@isc.org>
Mon, 19 Mar 2012 19:59:11 +0000 (01:29 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 22 Mar 2012 13:03:50 +0000 (18:33 +0530)
src/lib/util/io/Makefile.am
src/lib/util/pyunittests/Makefile.am

index 96b9d25c7bb3e8ab1b9a338829fc6625849d66ad..2c3ed9640dac133c3d7750f48c1a314969a68275 100644 (file)
@@ -13,7 +13,7 @@ CLEANFILES = *.gcno *.gcda
 pyexec_LTLIBRARIES = libutil_io_python.la
 # Python prefers .so, while some OSes (specifically MacOS) use a different
 # suffix for dynamic objects.  -module is necessary to work this around.
-libutil_io_python_la_LDFLAGS = -module
+libutil_io_python_la_LDFLAGS = -module -avoid-version
 libutil_io_python_la_SOURCES = fdshare_python.cc
 libutil_io_python_la_LIBADD = libutil_io.la
 libutil_io_python_la_CPPFLAGS = $(AM_CPPFLAGS) $(PYTHON_INCLUDES)
index dd2d39ac1a4c5f69a2024d45707da06195b91160..93b0748b7725070627627537f869cb62b43a2e2f 100644 (file)
@@ -13,7 +13,7 @@ pyunittests_util_la_CXXFLAGS = $(AM_CXXFLAGS) $(PYTHON_CXXFLAGS)
 
 # Python prefers .so, while some OSes (specifically MacOS) use a different
 # suffix for dynamic objects.  -module is necessary to work this around.
-pyunittests_util_la_LDFLAGS += -module
+pyunittests_util_la_LDFLAGS += -module -avoid-version
 pyunittests_util_la_LIBADD = $(top_builddir)/src/lib/util/libutil.la
 pyunittests_util_la_LIBADD += $(PYTHON_LIB)