summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-06 01:05:19 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:24 +0100
commit48ed51e61ec4378a0c3d4063a28d7247813548dc (patch)
tree4ddbf8065f52c7b6a35e1ba939b0436f0bd1b10d /source4/lib/ldb
parentf52ce954836f46c517f037a819fe0fe37f50d681 (diff)
downloadsamba-48ed51e61ec4378a0c3d4063a28d7247813548dc.tar.gz
samba-48ed51e61ec4378a0c3d4063a28d7247813548dc.tar.bz2
samba-48ed51e61ec4378a0c3d4063a28d7247813548dc.zip
r25846: Add configure test for -Wl,--export-dynamic.
(This used to be commit f67040d2a0cb8723f1bf0e9a9d90a821b38697b1)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/Makefile.in2
-rw-r--r--source4/lib/ldb/configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 4a440e205a..a87d39f123 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -34,7 +34,7 @@ LDAP_LIBS = @LDAP_LIBS@
SHLIBEXT = @SHLIBEXT@
-LD_EXPORT_DYNAMIC = -Wl,--export-dynamic
+LD_EXPORT_DYNAMIC = @LD_EXPORT_DYNAMIC@
CFLAGS=-g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \
$(POPT_CFLAGS) $(TALLOC_CFLAGS) $(TDB_CFLAGS) \
diff --git a/source4/lib/ldb/configure.ac b/source4/lib/ldb/configure.ac
index 6f19d88290..fac5d1542e 100644
--- a/source4/lib/ldb/configure.ac
+++ b/source4/lib/ldb/configure.ac
@@ -71,5 +71,7 @@ fi
AC_SUBST(TESTS)
AC_SUBST(EXTRA_OBJ)
+AC_LD_EXPORT_DYNAMIC
+
m4_include(libldb.m4)
AC_OUTPUT(Makefile ldb.pc)