From cbe27b37190315c4b6a32132dc4c1e8d487fa50b Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 16 Mar 2012 22:57:09 +1100 Subject: 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 --- source3/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/wscript b/source3/wscript index 4da8a44709..476fb109b5 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') -- cgit