wscript: fix a typo in -Wl,-undefined,error

This commit is contained in:
Alibek Omarov
2025-11-06 23:36:50 +05:00
parent 73950e867f
commit 6154e54661

View File

@@ -306,7 +306,7 @@ def configure(conf):
linkflags.append('-lc')
elif conf.env.DEST_OS == 'darwin':
linkflags.remove('-Wl,--no-undefined')
linkflags.append('-Wl,-undefined,-error')
linkflags.append('-Wl,-undefined,error')
elif conf.env.SAILFISH:
conf.define('XASH_SAILFISH', 1)