mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:01:48 +08:00
a9794606a6
* [mosquitto] Update to 2.0.18 * Disable android. ``` ci/installed/arm-neon-android/debug/lib/libssl.a /mnt/vcpkg-ci/installed/arm-neon-android/debug/lib/libcrypto.a -pthread -ldl -latomic -lm && : ld: error: undefined symbol: getgrgid_r >>> referenced by misc_mosq.c:192 (/mnt/vcpkg-ci/buildtrees/mosquitto/src/v2.0.18-5deb484567.clean/lib/misc_mosq.c:192) >>> lib/CMakeFiles/libmosquitto.dir/misc_mosq.c.o:(mosquitto__fopen) clang: error: linker command failed with exit code 1 (use -v to see invocation) ```
21 lines
605 B
Diff
21 lines
605 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 62ce99e..61f941e 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)
|
|
|