summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/mosquitto/files/1569.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/mosquitto/files/1569.patch')
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/1569.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/1569.patch b/meta-networking/recipes-connectivity/mosquitto/files/1569.patch
new file mode 100644
index 0000000000..9718b98c82
--- /dev/null
+++ b/meta-networking/recipes-connectivity/mosquitto/files/1569.patch
@@ -0,0 +1,25 @@
1Upstream-Status: Submitted [https://github.com/eclipse/mosquitto/pull/1569]
2From fda932612afce2cead2fd2ca1c8ea543b2892177 Mon Sep 17 00:00:00 2001
3From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
4Date: Wed, 22 Jan 2020 12:31:01 +0100
5Subject: [PATCH] Bugfix: enabling DLT was overriding everything else on linker
6 flags because of error in cmake set keyword
7
8Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
9---
10 src/CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
14index 7898ff5b1..6dfbba5e6 100644
15--- a/src/CMakeLists.txt
16+++ b/src/CMakeLists.txt
17@@ -130,7 +130,7 @@ add_definitions (-DWITH_BROKER)
18 if (WITH_DLT)
19 message(STATUS "DLT_LIBDIR = ${DLT_LIBDIR}")
20 link_directories(${DLT_LIBDIR})
21- set (MOSQ_LIBS ${DLT_LIBRARIES})
22+ set (MOSQ_LIBS ${MOSQ_LIBS} ${DLT_LIBRARIES})
23 endif (WITH_DLT)
24
25 set (MOSQ_LIBS ${MOSQ_LIBS} ${OPENSSL_LIBRARIES})