Switched to full static release + enable lto for the docker release image

This commit is contained in:
emeric
2025-01-22 18:34:08 +01:00
parent 40416cb907
commit 5b73925019
17 changed files with 19 additions and 59 deletions
+1 -4
View File
@@ -1,5 +1,5 @@
add_library(lmsauth SHARED
add_library(lmsauth STATIC
impl/AuthTokenService.cpp
impl/AuthServiceBase.cpp
impl/EnvService.cpp
@@ -50,6 +50,3 @@ if (USE_PAM)
target_include_directories(lmsauth PRIVATE ${PAM_INCLUDE_DIR})
target_link_libraries(lmsauth PRIVATE ${PAM_LIBRARIES})
endif (USE_PAM)
install(TARGETS lmsauth DESTINATION ${CMAKE_INSTALL_LIBDIR})