commit 76b5350c30bb6d36ee548a7de554f388b5068e01
parent 8f071e2200f0421caf1969c71a16ed62b3356fb5
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 24 Jan 2016 15:17:31 +0100
do not link everything against libcurl...
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -199,6 +199,10 @@ TALER_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined"
AC_SUBST(TALER_LIB_LDFLAGS)
AC_SUBST(TALER_PLUGIN_LDFLAGS)
+CFLAGS_SAVE=$CFLAGS
+LDFLAGS_SAVE=$LDFLAGS
+LIBS_SAVE="$LIBS"
+
AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)
@@ -249,6 +253,10 @@ then
fi
fi
+CFLAGS=$CFLAGS_SAVE
+LDFLAGS=$LDFLAGS_SAVE
+LIBS=$LIBS_SAVE
+
# should developer logic be compiled (not-for-production code)?
AC_MSG_CHECKING(whether to compile developer logic)