build: link libraries with no file extensions to the static ns-3 build

This commit is contained in:
Gabriel Ferreira
2022-04-23 12:54:49 -03:00
parent fbbb1f256f
commit 8966f4c870

View File

@@ -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()