diff --git a/configure.ac b/configure.ac index ce7eedc7..a3b2fe3a 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ fi AC_SUBST(SMCLIENT_CFLAGS) AC_SUBST(SMCLIENT_LIBS) -BACKEND_LIBTOOL_FLAGS="-module -avoid-version -export-symbols \$(top_srcdir)/backend/backend.symbols" +BACKEND_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -export-symbols \$(top_srcdir)/backend/backend.symbols" AC_SUBST(BACKEND_LIBTOOL_FLAGS) dnl ===== Check special functions diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am index a16b68e7..aa77ccab 100644 --- a/libdocument/Makefile.am +++ b/libdocument/Makefile.am @@ -91,6 +91,7 @@ libevdocument_la_CFLAGS = \ libevdocument_la_LDFLAGS = \ -version-info $(EV_DOCUMENT_LT_VERSION_INFO) \ + -no-undefined \ -export-symbols-regex "^ev_*" \ $(AM_LDFLAGS) diff --git a/libview/Makefile.am b/libview/Makefile.am index 1726d79c..edfacef6 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -49,6 +49,7 @@ libevview_la_CFLAGS = \ libevview_la_LDFLAGS = \ -version-info $(EV_VIEW_LT_VERSION_INFO) \ + -no-undefined \ -export-symbols-regex "^ev_*" \ $(AM_LDFLAGS)