From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] package/mosquitto: allow to build as static lib
Date: Fri, 02 Aug 2019 17:58:56 +0200 [thread overview]
Message-ID: <87imrfsgn3.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1471a17e-814d-eba7-5756-fe5dd592b5db@railnova.eu> (Titouan Christophe's message of "Fri, 2 Aug 2019 15:18:57 +0200")
>>>>> "Titouan" == Titouan Christophe <titouan.christophe@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
next prev parent reply other threads:[~2019-08-02 15:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-18 10:06 [Buildroot] [PATCH 0/3] Update package mosquitto Titouan Christophe
2019-07-18 10:06 ` [Buildroot] [PATCH 1/3] package/mosquitto: allow to build as static lib Titouan Christophe
2019-08-01 10:23 ` Peter Korsgaard
2019-08-01 10:41 ` Peter Korsgaard
2019-08-01 17:09 ` Titouan Christophe
2019-08-01 17:25 ` Peter Korsgaard
2019-08-02 13:18 ` Titouan Christophe
2019-08-02 15:58 ` Peter Korsgaard [this message]
2019-07-18 10:06 ` [Buildroot] [PATCH 2/3] package/mosquitto: Switch systemd unit to Type=notify and depend on network Titouan Christophe
2019-08-01 10:27 ` Peter Korsgaard
2019-08-02 8:51 ` Titouan Christophe
2019-07-18 10:06 ` [Buildroot] [PATCH 3/3] package/mosquitto: bump to v1.6.3 Titouan Christophe
2019-08-01 10:48 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2019-08-03 9:38 [Buildroot] [PATCH v2 0/3] Update package mosquitto Titouan Christophe
2019-08-03 9:38 ` [Buildroot] [PATCH 1/3] package/mosquitto: allow to build as static lib Titouan Christophe
2019-08-03 11:13 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imrfsgn3.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox