From 8966f4c8709c7334c17bd75d62c86c402f50cd51 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sat, 23 Apr 2022 12:54:49 -0300 Subject: [PATCH] build: link libraries with no file extensions to the static ns-3 build --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 640bab2ab..4b1d41659 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,6 +34,7 @@ if(${NS3_STATIC}) set(ns3-external-static-libs) foreach(sharedlib ${ns3-external-libs}) if(NOT (${sharedlib} MATCHES ".so")) + list(APPEND ns3-external-static-libs ${sharedlib}) continue() endif()