blob: c2dbd24f93839f5d75a904e62c858f5d44ed6828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-src_CMakeLists.txt,v 1.5 2020/08/19 23:33:39 gdt Exp $
\todo Explain this change
\todo File upstream.
--- src/CMakeLists.txt.orig 2020-08-19 13:55:03.000000000 +0000
+++ src/CMakeLists.txt
@@ -187,9 +187,9 @@ target_link_libraries(mosquitto ${MOSQ_L
if (UNIX)
if (APPLE)
set_target_properties(mosquitto PROPERTIES LINK_FLAGS "-Wl,-exported_symbols_list -Wl,${mosquitto_SOURCE_DIR}/src/linker-macosx.syms")
- else (APPLE)
+ elseif (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS)
set_target_properties(mosquitto PROPERTIES LINK_FLAGS "-Wl,-dynamic-list=${mosquitto_SOURCE_DIR}/src/linker.syms")
- endif (APPLE)
+ endif ()
endif (UNIX)
install(TARGETS mosquitto RUNTIME DESTINATION "${CMAKE_INSTALL_SBINDIR}")
|