MXS-1662 Move PAM authentication function into maxbase
The same code can be used for REST-API authentication.
This commit is contained in:
@ -8,6 +8,7 @@ add_library(maxbase STATIC
|
||||
logger.cc
|
||||
maxbase.cc
|
||||
messagequeue.cc
|
||||
pam_utils.cc
|
||||
semaphore.cc
|
||||
stopwatch.cc
|
||||
string.cc
|
||||
@ -23,7 +24,5 @@ target_link_libraries(maxbase systemd)
|
||||
endif()
|
||||
|
||||
set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
||||
target_link_libraries(maxbase
|
||||
${CURL_LIBRARIES}
|
||||
)
|
||||
target_link_libraries(maxbase ${CURL_LIBRARIES} ${PAM_LIBRARIES})
|
||||
add_subdirectory(test)
|
||||
|
||||
Reference in New Issue
Block a user