Skip to content

Commit

Permalink
Tune symbol visibility on GNU/Hurd too
Browse files Browse the repository at this point in the history
  • Loading branch information
sthibaul committed Jan 4, 2019
1 parent 3b3b492 commit a71ec85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmariadb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 8 AND MSVC)
SET_TARGET_PROPERTIES(mariadbclient PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
ENDIF()

IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
IF(CMAKE_SYSTEM_NAME MATCHES "Linux" OR
CMAKE_SYSTEM_NAME MATCHES "GNU")
IF (NOT WITH_ASAN AND NOT WITH_TSAN)
TARGET_LINK_LIBRARIES (libmariadb "-Wl,--no-undefined")
ENDIF()
Expand Down

0 comments on commit a71ec85

Please sign in to comment.