diff --git a/srcs/lwip/src/arch_linux/CMakeLists.txt b/srcs/lwip/src/arch_linux/CMakeLists.txt index 1b3512f..40051c9 100644 --- a/srcs/lwip/src/arch_linux/CMakeLists.txt +++ b/srcs/lwip/src/arch_linux/CMakeLists.txt @@ -27,7 +27,7 @@ include(${LWIP_LINUX_DIR}/Filelists.cmake) include_directories(${LWIP_DIR}/../libs/include ${LWIP_DIR}/../include) -add_library(${LWIP_LIB_NAME} ${lwipnoapps_SRCS} ${lwipcontribportunix_SRCS} ${lwipcontribportunixnetifs_SRCS}) +add_library(${LWIP_LIB_NAME} STATIC ${lwipnoapps_SRCS} ${lwipcontribportunix_SRCS} ${lwipcontribportunixnetifs_SRCS}) target_compile_options(${LWIP_LIB_NAME} PRIVATE ${LWIP_COMPILER_FLAGS}) target_compile_definitions(${LWIP_LIB_NAME} PRIVATE ${LWIP_DEFINITIONS} ${LWIP_MBEDTLS_DEFINITIONS}) target_include_directories(${LWIP_LIB_NAME} PRIVATE ${LWIP_INCLUDE_DIRS} ${LWIP_MBEDTLS_INCLUDE_DIRS})