[Buildroot] [PATCH 1/3] package/mosquitto: allow to build as static lib
Peter Korsgaard
peter at korsgaard.com
Fri Aug 2 15:58:56 UTC 2019
>>>>> "Titouan" == Titouan Christophe <titouan.christophe at railnova.eu> writes:
Hi,
> Indeed, when doing a regular make (and not test-pkg) with this
> defconfig I can reproduce the aforementioned failure.
Funky, but OK.
> Now, when looking at mosquitto, I understand that
> WITH_SHARED_LIBRARY=no implies that libmosquitto.so won't be created
> (and linked against).
> However, the failure over here is due to some code in the broker which
> is intended to dynamically load modules at runtime, no matter if
> mosquitto is running inside a statically linked executable or from a
> dylib.
> As such, I suggest then to only make the broker depend on
> BR2_SHARED_LIBS, while still allowing the client lib to be built
> statically, which in my opinion makes sense for embedded targets.
> What do you think ?
Yes, that could work. Will you send a patch for that?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list