package/mosquitto: allow to build as static lib
authorTitouan Christophe <titouan.christophe@railnova.eu>
Sat, 3 Aug 2019 09:38:56 +0000 (11:38 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 Aug 2019 11:14:48 +0000 (13:14 +0200)
commita95bdd964761ec69a23174f5213dd54b77d0971b
tree0ca3af407179a30490618f34c5f285f1bcf98270
parent228b0b1f0088ee8f8d1775b618a8725b8a4e0534
package/mosquitto: allow to build as static lib

Since version 1.5, it is possible to build mosquitto as a static lib.

However, the broker still needs a toolchain with support for shared libraries,
because it contains code to dynamically load modules at runtime. This
code makes use of dlfcn.h, which is only available for dylib enabled
systems.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[Peter: adjust broker comment]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mosquitto/Config.in
package/mosquitto/mosquitto.mk