build do not add -no-undefined on openbsd
authorMatthieu Patou <mat@matws.net>
Mon, 13 Dec 2010 14:41:26 +0000 (17:41 +0300)
committerMatthieu Patou <mat@matws.net>
Tue, 14 Dec 2010 12:58:11 +0000 (15:58 +0300)
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()