mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Check existence if dl library.
All platforms do not have dl library, but dlopen() and friends are included in libc. Check existence of dl lib and store into WSREP_LIB_LIBDL if found.
This commit is contained in:
@ -19,4 +19,4 @@ add_library(wsrep-lib
|
||||
transaction.cpp
|
||||
uuid.cpp
|
||||
wsrep_provider_v26.cpp)
|
||||
target_link_libraries(wsrep-lib wsrep_api_v26 pthread dl)
|
||||
target_link_libraries(wsrep-lib wsrep_api_v26 pthread ${WSREP_LIB_LIBDL})
|
||||
|
Reference in New Issue
Block a user