Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 1 | From: Joachim Zobel <jz-2017@heute-morgen.de> |
| 2 | Date: Wed, 13 Sep 2023 09:55:34 +0200 |
| 3 | Subject: [PATCH] Link correctly with shared websockets library if needed see: |
| 4 | https://github.com/eclipse/mosquitto/pull/2751 |
| 5 | |
| 6 | Patch contributed by Joachim Zobel <jz-2017@heute-morgen.de> and Daniel Engberg <daniel.engberg.lists@pyret.net> |
| 7 | --- |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | src/CMakeLists.txt | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
| 14 | index 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 | |