Skip to content

Commit

Permalink
CONC-637 Build fails when specifying -DPLUGIN_AUTH_GSSAPI_CLIENT=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Feb 28, 2023
1 parent 000415a commit 4e2408c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/auth/CMakeLists.txt
Expand Up @@ -120,7 +120,7 @@ IF(GSSAPI_SOURCES)
IF(CMAKE_C_COMPILER_ID MATCHES "Clang")
SET_SOURCE_FILES_PROPERTIES(${GSSAPI_SOURCES} PROPERTY COMPILE_FLAGS "-Wno-deprecated-declarations")
ENDIF()
IF(have__Wl___as_needed)
IF(have__Wl___as_needed AND TARGET auth_gssapi_client)
SET_TARGET_PROPERTIES(auth_gssapi_client PROPERTIES LINK_FLAGS "-Wl,--as-needed")
ENDIF()
ENDIF()
Expand Down

0 comments on commit 4e2408c

Please sign in to comment.