termux-packages/packages/libmosquitto/add-liblog.patch

13 lines
397 B
Diff

diff -u -r ../mosquitto-1.4.10/src/CMakeLists.txt ./src/CMakeLists.txt
--- ../mosquitto-1.4.10/src/CMakeLists.txt 2016-08-17 13:05:14.000000000 +0200
+++ ./src/CMakeLists.txt 2017-01-24 23:40:30.787022276 +0100
@@ -107,7 +111,7 @@
endif (UUID_HEADER)
endif(NOT APPLE)
-target_link_libraries(mosquitto ${MOSQ_LIBS})
+target_link_libraries(mosquitto ${MOSQ_LIBS} log)
if (UNIX)
if (APPLE)