summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/fastos/src/vespa/fastos/CMakeLists.txt b/fastos/src/vespa/fastos/CMakeLists.txt
index efa1bcb0c13..3d19d37d8e9 100644
--- a/fastos/src/vespa/fastos/CMakeLists.txt
+++ b/fastos/src/vespa/fastos/CMakeLists.txt
@@ -25,5 +25,32 @@ vespa_add_library(fastos
DEPENDS
${CMAKE_DL_LIBS}
)
+vespa_add_library(fastos_static STATIC
+ SOURCES
+ app.cpp
+ backtrace.c
+ file.cpp
+ linux_file.cpp
+ serversocket.cpp
+ socket.cpp
+ socketevent.cpp
+ thread.cpp
+ time.cpp
+ timestamp.cpp
+ unix_app.cpp
+ unix_cond.cpp
+ unix_dynamiclibrary.cpp
+ unix_file.cpp
+ unix_ipc.cpp
+ unix_mutex.cpp
+ unix_process.cpp
+ unix_socket.cpp
+ unix_thread.cpp
+ unix_time.cpp
+ INSTALL lib64
+ DEPENDS
+ ${CMAKE_DL_LIBS}
+)
find_package(Threads REQUIRED)
target_link_libraries(fastos PUBLIC ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(fastos_static PUBLIC ${CMAKE_THREAD_LIBS_INIT})