Fix linker errors on some architectures using cmake.

Closes #3167. Thanks to acode-x
This commit is contained in:
Roger A. Light
2025-05-01 16:26:35 +01:00
parent d0fd1985bd
commit d4945d2159
2 changed files with 2 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ Client library:
errors. This would cause the mosquitto_loop_start() thread to exit if no
broker was available on the first connection attempt. This has been fixed.
Closes #3258.
- Fix linker errors on some architectures using cmake. Closes #3167.
Tests:
- Fix 08-ssl-connect-cert-auth-expired and 08-ssl-connect-cert-auth-revoked

View File

@@ -100,7 +100,7 @@ if (WITH_THREADING)
endif()
endif()
target_link_libraries(libmosquitto PRIVATE ${LIBRARIES})
target_link_libraries(libmosquitto ${LIBRARIES})
set_target_properties(libmosquitto PROPERTIES
OUTPUT_NAME mosquitto