From a0a8f482fb69d6fc79e13f3fba302fc7ff964a3f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Jan 2021 21:54:02 +0100 Subject: fix linker issues --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 837c33cc..99801c6c 100644 --- a/configure.ac +++ b/configure.ac @@ -85,6 +85,14 @@ AX_LIB_POSTGRESQL([9.3]) AS_IF([test "x$found_postgresql" = "xyes"],[postgres=true]) AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue) + +TALER_LIB_LDFLAGS="-export-dynamic -no-undefined" +TALER_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" + +AC_SUBST(TALER_LIB_LDFLAGS) +AC_SUBST(TALER_PLUGIN_LDFLAGS) + + # Check for Taler's libtalerpq libtalerpq=0 AC_MSG_CHECKING([for libtalerpq]) -- cgit v1.2.3