blob: 8468f8270126eca61214bd534397fc7b03a562b8 [file] [log] [blame]
--- zbar-0.21/python/Makefile.am.inc.orig 2019-02-20 13:54:40.605279400 +0300
+++ zbar-0.21/python/Makefile.am.inc 2019-02-20 13:54:56.782507800 +0300
@@ -1,6 +1,6 @@
pyexec_LTLIBRARIES += python/zbar.la
python_zbar_la_CPPFLAGS = $(PYTHON_CFLAGS) $(AM_CPPFLAGS)
-python_zbar_la_LDFLAGS = -shared -module -avoid-version -export-dynamic \
+python_zbar_la_LDFLAGS = -no-undefined -shared -module -avoid-version -export-dynamic \
-export-symbols-regex '(initzbar|PyInit_zbar)'
python_zbar_la_LIBADD = $(PYTHON_LIBS) zbar/libzbar.la $(AM_LIBADD)