mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
bug #1728: Add -avoid-version to LDFLAGS for Python modules (contd.)
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user