summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 2bf6fb8f4e..c02f2a239d 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -85,6 +85,8 @@ def configure(conf):
conf.RECURSE('../lib/zlib')
conf.RECURSE('../libcli/smbreadline')
+ conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
+
conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h')
conf.CHECK_FUNCS('getcwd fchown chmod fchmod mknod mknod64')