any execinfo/backtrace rt lib must be transient
authorMichael Wallner <mike@php.net>
Mon, 2 Nov 2020 12:58:52 +0000 (13:58 +0100)
committerMichael Wallner <mike@php.net>
Mon, 2 Nov 2020 12:58:52 +0000 (13:58 +0100)
src/libmemcached/CMakeLists.txt

index 6dd760d3847fa837d318b93fae5f12e0ba3f0369..2c1e61ac562a34eaac28f073e92052f2288391f3 100644 (file)
@@ -93,7 +93,7 @@ set_target_properties(libmemcached PROPERTIES
 target_compile_definitions(libmemcached PRIVATE -DBUILDING_LIBMEMCACHED)
 target_link_libraries(libmemcached PUBLIC libhashkit Threads::Threads ${CMAKE_DL_LIBS})
 if(HAVE_BACKTRACE)
-    target_link_libraries(libmemcached PRIVATE ${BACKTRACE})
+    target_link_libraries(libmemcached PUBLIC ${BACKTRACE})
 endif()
 if(HAVE_LIBSASL)
     target_link_libraries(libmemcached PUBLIC ${LIBSASL})
@@ -132,7 +132,7 @@ if(HAVE_LIBSASL)
     target_link_libraries(libmemcachedinternal PUBLIC ${LIBSASL})
 endif()
 if(HAVE_BACKTRACE)
-    target_link_libraries(libmemcachedinternal PRIVATE ${BACKTRACE})
+    target_link_libraries(libmemcachedinternal PUBLIC ${BACKTRACE})
 endif()
 target_include_directories(libmemcachedinternal PRIVATE
         ${CMAKE_SOURCE_DIR}/src