summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-12-13 17:41:26 +0300
committerMatthieu Patou <mat@matws.net>2010-12-14 15:58:11 +0300
commit8c90287198afa59b4d96ebaa7985d38753c14caf (patch)
tree8deba04738ccb099e614259bab6bb87cc8a48feb
parent0fe744078d1ce9c93759ffed3f27db82ec8922ff (diff)
downloadsamba-8c90287198afa59b4d96ebaa7985d38753c14caf.tar.gz
samba-8c90287198afa59b4d96ebaa7985d38753c14caf.tar.bz2
samba-8c90287198afa59b4d96ebaa7985d38753c14caf.zip
build do not add -no-undefined on openbsd
-rw-r--r--source4/lib/ldb/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index c75525d106..eb205e0145 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -62,7 +62,8 @@ def configure(conf):
# we don't want any libraries or modules to rely on runtime
# resolution of symbols
- conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
+ if sys.platform != "openbsd":
+ conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
conf.SAMBA_CONFIG_H()