build do not add -no-undefined on openbsd
[metze/samba/wip.git] / source4 / lib / ldb / wscript
index c75525d10620c96dd87110f4b69d8fa8b4d81bb4..eb205e014559bfd73bf507c1c0cc7007d8c94573 100644 (file)
@@ -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()