mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Parse GSSAPI flags on AIX
This commit is contained in:
committed by
Daniel Black
parent
1d7fc7280e
commit
2dee6a74b2
@@ -58,6 +58,10 @@ else(GSSAPI_LIBS AND GSSAPI_FLAVOR)
|
||||
message(STATUS "GSSAPI configure check failed.")
|
||||
set(HAVE_KRB5_GSSAPI FALSE)
|
||||
endif(_return_VALUE)
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES AIX)
|
||||
string(REGEX REPLACE "-Wl[A-Za-z0-9_/,:-]*[ $]?" "" GSSAPI_LIBS "${GSSAPI_LIBS}")
|
||||
string(REGEX REPLACE "-L[A-Za-z0-9_/,:-]*[ $]?" "" GSSAPI_LIBS "${GSSAPI_LIBS}")
|
||||
ENDIF()
|
||||
|
||||
exec_program(${KRB5_CONFIG} ARGS --cflags gssapi RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GSSAPI_INCS)
|
||||
string(REGEX REPLACE "(\r?\n)+$" "" GSSAPI_INCS "${GSSAPI_INCS}")
|
||||
|
Reference in New Issue
Block a user