From 3ee9ee06113258c9deb03ff8a2c4743282328275 Mon Sep 17 00:00:00 2001 From: tschumann Date: Sat, 22 Feb 2025 12:53:48 +1000 Subject: [PATCH] Fix -ldl linker flag. --- loader/test/AMBuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/test/AMBuilder b/loader/test/AMBuilder index daa86f0..ba9eabf 100644 --- a/loader/test/AMBuilder +++ b/loader/test/AMBuilder @@ -18,7 +18,7 @@ for cxx in MMS.all_targets: binary.compiler.defines += ['LIB_PREFIX="lib"', 'LIB_SUFFIX=".so"'] 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 if binary.compiler.target.platform == 'windows':