From: Fabrice Fontaine Date: Sun, 11 Mar 2018 13:42:30 +0000 (+0100) Subject: libmpdclient: fix static linking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be40c05dc5865feeb36436b5d4be5a1dc51598f3;p=buildroot.git libmpdclient: fix static linking Fixes: - http://autobuild.buildroot.net/results/45208e51814b777a5a133b0e345e800ee51d8a53 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/libmpdclient/libmpdclient.mk b/package/libmpdclient/libmpdclient.mk index 3ab8e9884c..a399516fe3 100644 --- a/package/libmpdclient/libmpdclient.mk +++ b/package/libmpdclient/libmpdclient.mk @@ -16,6 +16,7 @@ LIBMPDCLIENT_DEPENDENCIES = host-meson LIBMPDCLIENT_CONF_OPTS += \ --prefix=/usr \ --libdir=/usr/lib \ + --default-library $(if $(BR2_STATIC_LIBS),static,shared) \ --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \ --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf