diff options
author | João Valverde <j@v6e.pt> | 2023-02-12 20:30:38 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-02-12 20:30:38 +0000 |
commit | ce6c3da7278a63241caeff793cb64189e85a2a0b (patch) | |
tree | 4d5738067525a6ebff1bcd1085dc8b42511d1b30 /wsutil | |
parent | 58a80312cb668e1cdbe7ba47d15593613db369fb (diff) |
Revert "Enable rpathification and working relocation on Linux (take 2)"
This reverts commit 8dfe8737c554b4e4b2b48b994290a75c261e0f11
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/CMakeLists.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt index eeb39eea42..77354ffb32 100644 --- a/wsutil/CMakeLists.txt +++ b/wsutil/CMakeLists.txt @@ -406,45 +406,6 @@ install(FILES ${WSUTIL_PUBLIC_HEADERS} EXCLUDE_FROM_ALL ) -add_library(wsutil_static STATIC - ${WSUTIL_FILES} -) - -target_compile_definitions(wsutil_static PRIVATE - ENABLE_STATIC - BUILD_WSUTIL -) - -target_link_libraries(wsutil_static - PUBLIC - ${GLIB2_LIBRARIES} - PRIVATE - ${GMODULE2_LIBRARIES} - ${APPLE_CORE_FOUNDATION_LIBRARY} - ${CMAKE_DL_LIBS} - ${GCRYPT_LIBRARIES} - ${GNUTLS_LIBRARIES} - ${ZLIB_LIBRARIES} - ${PCRE2_LIBRARIES} - ${WIN_IPHLPAPI_LIBRARY} - ${WIN_WS2_32_LIBRARY} -) - -target_include_directories(wsutil_static SYSTEM - PUBLIC - ${GLIB2_INCLUDE_DIRS} - ${GCRYPT_INCLUDE_DIRS} - ${GNUTLS_INCLUDE_DIRS} - PRIVATE - ${GMODULE2_INCLUDE_DIRS} - ${ZLIB_INCLUDE_DIRS} - ${PCRE2_INCLUDE_DIRS} -) - -if(NOT VCSVERSION_OVERRIDE) - add_dependencies(wsutil_static vcs_version) -endif() - add_executable(wmem_test EXCLUDE_FROM_ALL wmem/wmem_test.c ${WMEM_FILES}) target_link_libraries(wmem_test wsutil) |