From b4d398f8e3f5f073f0424395b792c1487a2f2ca8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 9 Dec 2010 15:44:30 +0100 Subject: 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 --- source3/wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/wscript') 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') -- cgit