* [Buildroot] [PATCH] package/upmpdcli: fix static build issue
@ 2019-01-24 10:07 Jörg Krause
2019-01-27 20:46 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jörg Krause @ 2019-01-24 10:07 UTC (permalink / raw)
To: buildroot
The spotify plugin requires shared library support and needs <dlfcn.h>.
Explicitly disable the spotify plugin when building upmpdcli in a static
context.
Fixes:
http://autobuild.buildroot.net/results/cb942d3c5f68959d6cbc85535ccff4a275369f91/
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
package/upmpdcli/upmpdcli.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/upmpdcli/upmpdcli.mk b/package/upmpdcli/upmpdcli.mk
index d88caac78b..22a5bf2429 100644
--- a/package/upmpdcli/upmpdcli.mk
+++ b/package/upmpdcli/upmpdcli.mk
@@ -10,6 +10,11 @@ UPMPDCLI_LICENSE = LGPL-2.1+
UPMPDCLI_LICENSE_FILES = COPYING
UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp
+# Disable spotify plugin which requires dlfcn.h
+ifeq ($(BR2_STATIC_LIBS),y)
+UPMPDCLI_CONF_OPTS = --disable-spotify
+endif
+
# Upmpdcli only runs if user upmpdcli exists
define UPMPDCLI_USERS
upmpdcli -1 upmpdcli -1 * - - audio Upmpdcli MPD UPnP Renderer Front-End
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/upmpdcli: fix static build issue
2019-01-24 10:07 [Buildroot] [PATCH] package/upmpdcli: fix static build issue Jörg Krause
@ 2019-01-27 20:46 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-01-27 20:46 UTC (permalink / raw)
To: buildroot
On Thu, 24 Jan 2019 11:07:17 +0100
J?rg Krause <joerg.krause@embedded.rocks> wrote:
> The spotify plugin requires shared library support and needs <dlfcn.h>.
> Explicitly disable the spotify plugin when building upmpdcli in a static
> context.
>
> Fixes:
> http://autobuild.buildroot.net/results/cb942d3c5f68959d6cbc85535ccff4a275369f91/
>
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
> package/upmpdcli/upmpdcli.mk | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-27 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24 10:07 [Buildroot] [PATCH] package/upmpdcli: fix static build issue Jörg Krause
2019-01-27 20:46 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox