From ed66e04b0b50e92f464b9d25e0033dc1670e9996 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 22 Nov 2023 18:17:27 -0300 Subject: [PATCH] build: reset LIB_AS_NEEDED_PRE in Windows when using lld --- .../custom-modules/ns3-compiler-and-linker-support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-support/custom-modules/ns3-compiler-and-linker-support.cmake b/build-support/custom-modules/ns3-compiler-and-linker-support.cmake index 04daecda6..6861371b8 100644 --- a/build-support/custom-modules/ns3-compiler-and-linker-support.cmake +++ b/build-support/custom-modules/ns3-compiler-and-linker-support.cmake @@ -122,7 +122,7 @@ if(${NS3_FAST_LINKERS}) add_link_options("-fuse-ld=lld") if(WIN32) # Clear unsupported linker flags on Windows - set(LIB_AS_NEEDED_PRE) + set(LIB_AS_NEEDED_PRE "") endif() endif() endif()