blob: 7374cbd26fe57f9b14be64d8dba26e4820448e3e [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001From: Joachim Zobel <jz-2017@heute-morgen.de>
2Date: Wed, 13 Sep 2023 09:55:34 +0200
3Subject: [PATCH] Link correctly with shared websockets library if needed see:
4 https://github.com/eclipse/mosquitto/pull/2751
5
6Patch contributed by Joachim Zobel <jz-2017@heute-morgen.de> and Daniel Engberg <daniel.engberg.lists@pyret.net>
7---
8Upstream-Status: Pending
9
10 src/CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
14index 9380a04..dce8313 100644
15--- a/src/CMakeLists.txt
16+++ b/src/CMakeLists.txt
17@@ -200,7 +200,7 @@ if (WITH_WEBSOCKETS)
18 link_directories(${mosquitto_SOURCE_DIR})
19 endif (WIN32)
20 else (STATIC_WEBSOCKETS)
21- set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
22+ set (MOSQ_LIBS ${MOSQ_LIBS} websockets_shared)
23 endif (STATIC_WEBSOCKETS)
24 endif (WITH_WEBSOCKETS)
25