Browse Source

libmpdclient: fix static linking

Fixes:
 - http://autobuild.buildroot.net/results/45208e51814b777a5a133b0e345e800ee51d8a53

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine 7 years ago
parent
commit
be40c05dc5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/libmpdclient/libmpdclient.mk

+ 1 - 0
package/libmpdclient/libmpdclient.mk

@@ -16,6 +16,7 @@ LIBMPDCLIENT_DEPENDENCIES = host-meson
 LIBMPDCLIENT_CONF_OPTS += \
 LIBMPDCLIENT_CONF_OPTS += \
 	--prefix=/usr \
 	--prefix=/usr \
 	--libdir=/usr/lib \
 	--libdir=/usr/lib \
+	--default-library $(if $(BR2_STATIC_LIBS),static,shared) \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 	--cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf