summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')