The build system creates a client library (c) and an async library (a),
both in a non-SSL and SSL variant. Let's install all of them, as we
don't know which ones are needed.

Signed-off-by: Robert Schwebel <r.schwe...@pengutronix.de>
---
 rules/paho-mqtt-c.make | 7 +++++++
 1 file changed, 7 insertions(+)

Changes since implicit v1 (thanks to mol):
- use make comments, not shell comments

diff --git a/rules/paho-mqtt-c.make b/rules/paho-mqtt-c.make
index 8e229cfe2..fdd81ebb1 100644
--- a/rules/paho-mqtt-c.make
+++ b/rules/paho-mqtt-c.make
@@ -51,7 +51,14 @@ $(STATEDIR)/paho-mqtt-c.targetinstall:
        @$(call install_fixup, paho-mqtt-c,AUTHOR,"Marc Kleine-Budde 
<m...@pengutronix.de>")
        @$(call install_fixup, paho-mqtt-c,DESCRIPTION,missing)
 
+#      # async library without ssh
+       @$(call install_lib, paho-mqtt-c, 0, 0, 0644, libpaho-mqtt3a)
+#      # async library with ssh
        @$(call install_lib, paho-mqtt-c, 0, 0, 0644, libpaho-mqtt3as)
+#      # client library without ssl
+       @$(call install_lib, paho-mqtt-c, 0, 0, 0644, libpaho-mqtt3c)
+#      # client library with ssl
+       @$(call install_lib, paho-mqtt-c, 0, 0, 0644, libpaho-mqtt3cs)
 
        @$(call install_finish, paho-mqtt-c)
 
-- 
2.30.2


Reply via email to