aboutsummaryrefslogtreecommitdiff
path: root/ports/mosquitto/0005-websocket-shared-lib-name.patch
diff options
context:
space:
mode:
authorAntoine Hoarau <703240+ahoarau@users.noreply.github.com>2021-09-28 02:51:07 +0200
committerGitHub <noreply@github.com>2021-09-27 17:51:07 -0700
commit5aec72b4f3f1ccda1176549f58abc24c7ee36ffe (patch)
tree1eee9157957a30382463d6ed8fe5fbea9427a588 /ports/mosquitto/0005-websocket-shared-lib-name.patch
parentee0584f05066a63073b516605091155ccd99c7d9 (diff)
downloadvcpkg-5aec72b4f3f1ccda1176549f58abc24c7ee36ffe.tar.gz
vcpkg-5aec72b4f3f1ccda1176549f58abc24c7ee36ffe.zip
[mosquitto] Update to 2.0.12 (#20148)
* update mosquitto to 2.0.12 * update json * Update ports/mosquitto/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/libwebsockets/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * add head ref * remove plugins * update jsons * update libwebsockets * Update versions/m-/mosquitto.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update versions/l-/libwebsockets.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/mosquitto/portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update version Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Jonliu1993 <13720414433@163.com>
Diffstat (limited to 'ports/mosquitto/0005-websocket-shared-lib-name.patch')
-rw-r--r--ports/mosquitto/0005-websocket-shared-lib-name.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/mosquitto/0005-websocket-shared-lib-name.patch b/ports/mosquitto/0005-websocket-shared-lib-name.patch
new file mode 100644
index 000000000..4ce8a8267
--- /dev/null
+++ b/ports/mosquitto/0005-websocket-shared-lib-name.patch
@@ -0,0 +1,20 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 9380a046..f2929e19 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -194,13 +194,13 @@ endif (WIN32)
+
+ if (WITH_WEBSOCKETS)
+ if (STATIC_WEBSOCKETS)
+- set (MOSQ_LIBS ${MOSQ_LIBS} websockets_static)
++ set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
+ if (WIN32)
+ set (MOSQ_LIBS ${MOSQ_LIBS} iphlpapi)
+ link_directories(${mosquitto_SOURCE_DIR})
+ endif (WIN32)
+ else (STATIC_WEBSOCKETS)
+- set (MOSQ_LIBS ${MOSQ_LIBS} websockets)
++ set (MOSQ_LIBS ${MOSQ_LIBS} websockets_shared)
+ endif (STATIC_WEBSOCKETS)
+ endif (WITH_WEBSOCKETS)
+