[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: fix plugin build
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: fix plugin build |
Date: |
Wed, 18 Nov 2020 20:16:22 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 287ca3a fix plugin build
287ca3a is described below
commit 287ca3aacf79a3a955dcc1bddf263b389d16df19
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 18 20:16:20 2020 +0100
fix plugin build
---
configure.ac | 7 +++++++
src/backend/Makefile.am | 2 +-
src/stasis/Makefile.am | 2 +-
src/stasis/plugin_anastasis_postgres.c | 10 +++++-----
4 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 547b3f2..52e2c17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,13 @@ CFLAGS="-Wall $CFLAGS"
# Checks for header files.
AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h])
+ANASTASIS_LIB_LDFLAGS="-export-dynamic -no-undefined"
+ANASTASIS_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined"
+
+AC_SUBST(TALER_LIB_LDFLAGS)
+AC_SUBST(TALER_PLUGIN_LDFLAGS)
+
+
# Check for GNUnet's libgnunetutil.
libgnunetutil=0
AC_MSG_CHECKING([for libgnunetutil])
diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index b56aa13..eaec29b 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -27,7 +27,7 @@ libanastasis_plugin_authorization_file_la_SOURCES = \
libanastasis_plugin_authorization_file_la_LIBADD = \
$(LTLIBINTL)
libanastasis_plugin_authorization_file_la_LDFLAGS = \
- $(TALER_PLUGIN_LDFLAGS) \
+ $(ANASTASIS_PLUGIN_LDFLAGS) \
-ljansson \
-ltalerutil \
-lgnunetutil \
diff --git a/src/stasis/Makefile.am b/src/stasis/Makefile.am
index 39950a6..83a6306 100644
--- a/src/stasis/Makefile.am
+++ b/src/stasis/Makefile.am
@@ -61,7 +61,7 @@ libanastasis_plugin_db_postgres_la_SOURCES = \
libanastasis_plugin_db_postgres_la_LIBADD = \
$(LTLIBINTL)
libanastasis_plugin_db_postgres_la_LDFLAGS = \
- $(TALER_PLUGIN_LDFLAGS) \
+ $(ANASTASIS_PLUGIN_LDFLAGS) \
-lgnunetpq \
-lpq \
-ltalerpq \
diff --git a/src/stasis/plugin_anastasis_postgres.c
b/src/stasis/plugin_anastasis_postgres.c
index b518b62..32492cc 100644
--- a/src/stasis/plugin_anastasis_postgres.c
+++ b/src/stasis/plugin_anastasis_postgres.c
@@ -2215,11 +2215,11 @@ libanastasis_plugin_db_postgres_init (void *cls)
pg = GNUNET_new (struct PostgresClosure);
pg->cfg = cfg;
- pg->conn = GNUNET_PQ_connect_with_cfg (cfg,
- "stasis-postgres",
- "stasis-",
- NULL,
- ps);
+ ls pg->conn = GNUNET_PQ_connect_with_cfg (cfg,
+ "stasis-postgres",
+ "stasis-",
+ NULL,
+ ps);
if (NULL == pg->conn)
{
GNUNET_free (pg);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-anastasis] branch master updated: fix plugin build,
gnunet <=