summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-03-16 22:57:09 +1100
committerAmitay Isaacs <amitay@samba.org>2012-03-16 16:04:31 +0100
commitcbe27b37190315c4b6a32132dc4c1e8d487fa50b (patch)
tree9f854489c334a2f8923d296625bbe4a2d06f1891 /source3
parent8503eecabb9cbd47db6167f7394dc2257714ebd9 (diff)
downloadsamba-cbe27b37190315c4b6a32132dc4c1e8d487fa50b.tar.gz
samba-cbe27b37190315c4b6a32132dc4c1e8d487fa50b.tar.bz2
samba-cbe27b37190315c4b6a32132dc4c1e8d487fa50b.zip
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 <amitay@samba.org> Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript3
1 files changed, 2 insertions, 1 deletions
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')