summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-09 15:44:30 +0100
committerGünther Deschner <gd@samba.org>2010-12-13 10:53:42 +0100
commitb4d398f8e3f5f073f0424395b792c1487a2f2ca8 (patch)
tree562ecde4a53c2c13769d4c87b40f6052587b6028 /source3/wscript
parentcb15d73c0bb8526b99f7f5067680a39bd8fbf03f (diff)
downloadsamba-b4d398f8e3f5f073f0424395b792c1487a2f2ca8.tar.gz
samba-b4d398f8e3f5f073f0424395b792c1487a2f2ca8.tar.bz2
samba-b4d398f8e3f5f073f0424395b792c1487a2f2ca8.zip
s3-waf: add -Wl,--export-dynamic to LDFLAGS.
Our binaries did not export symbols so e.g. smbd could not load vfs modules. Patch from tridge. We might remove this later on, once we decide to resolve all symbols and fix all dependencies in s3 modules. Guenther
Diffstat (limited to 'source3/wscript')
-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')