mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Fix -ldl linker flag.
This commit is contained in:
parent
f4cb43c9e2
commit
3ee9ee0611
@ -18,7 +18,7 @@ for cxx in MMS.all_targets:
|
|||||||
binary.compiler.defines += ['LIB_PREFIX="lib"', 'LIB_SUFFIX=".so"']
|
binary.compiler.defines += ['LIB_PREFIX="lib"', 'LIB_SUFFIX=".so"']
|
||||||
|
|
||||||
if binary.compiler.target.platform == 'linux':
|
if binary.compiler.target.platform == 'linux':
|
||||||
binary.compiler.linkflags += ['ldl']
|
binary.compiler.linkflags += ['-ldl']
|
||||||
|
|
||||||
# TODO: hack - something makes it try and compile with /SUBSYSTEM:WINDOWS which then causes it to complain that WinMain is missing
|
# TODO: hack - something makes it try and compile with /SUBSYSTEM:WINDOWS which then causes it to complain that WinMain is missing
|
||||||
if binary.compiler.target.platform == 'windows':
|
if binary.compiler.target.platform == 'windows':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user