From: Amitay Isaacs Date: Fri, 16 Mar 2012 11:57:09 +0000 (+1100) Subject: build: Do not use --export-dynamic flag on OpenBSD 5.x X-Git-Tag: tdb-1.2.10~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbe27b37190315c4b6a32132dc4c1e8d487fa50b;p=thirdparty%2Fsamba.git build: Do not use --export-dynamic flag on OpenBSD 5.x With --export-dynamic flag on OpenBSD 5.x, extra symbols get added in the data segment which causes ABI generation script to fail. Autobuild-User: Amitay Isaacs Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104 --- diff --git a/source3/wscript b/source3/wscript index 4da8a447097..476fb109b56 100644 --- a/source3/wscript +++ b/source3/wscript @@ -69,7 +69,8 @@ def configure(conf): if Options.options.with_swat: conf.env['build_swat'] = True - conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True) + if sys.platform != 'openbsd5': + conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True) conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h') conf.CHECK_HEADERS('linux/falloc.h')