build: Remove duplicated check for -Wl,-no-undefined on OpenBSD
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Feb 2024 08:21:45 +0000 (21:21 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 1 Mar 2024 02:41:36 +0000 (02:41 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/wscript

index cfdcb2eb6f6898ce96ea791ac22539b55a2e68b4..8d9156b0e3dffb424e204acc9e770dd0f504f2e2 100644 (file)
@@ -149,11 +149,6 @@ def configure(conf):
         if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
             conf.env.ENABLE_LDAP_BACKEND = True
 
-        # we don't want any libraries or modules to rely on runtime
-        # resolution of symbols
-        if not sys.platform.startswith("openbsd"):
-            conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
-
     # if lmdb support is enabled then we require lmdb
     # is present, build the mdb back end and enable lmdb support in
     # the tools.