aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-11-19 00:31:06 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-11-19 10:49:34 +0100
commitde5bfeac56da3a49fadad9c60898bea4fadf54dd (patch)
tree7b8c0c90cfb37eca7b42ef111d310ad8cf8eb814
parent154c3ea73206ee7115b1730cfa1aaaec50374c07 (diff)
downloadbuildroot-de5bfeac56da3a49fadad9c60898bea4fadf54dd.tar.gz
buildroot-de5bfeac56da3a49fadad9c60898bea4fadf54dd.tar.bz2
package/minidlna: fix static build
libvorbis.pc does not exist, it is named vorbis.pc. Also, sqlite3 was missing when querying pkg-config. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/minidlna/minidlna.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk
index e9df92b20e..e00fa09fb7 100644
--- a/package/minidlna/minidlna.mk
+++ b/package/minidlna/minidlna.mk
@@ -17,7 +17,8 @@ MINIDLNA_DEPENDENCIES = \
ifeq ($(BR2_STATIC_LIBS),y)
# the configure script / Makefile forgets to link with some of the dependent
# libraries breaking static linking, so help it along
-MINIDLNA_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libavcodec libexif libvorbis`
+MINIDLNA_PKGCONFIG_DEPS = libavcodec libexif vorbis sqlite3
+MINIDLNA_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs $(MINIDLNA_PKGCONFIG_DEPS)`
MINIDLNA_STATIC_LIBS += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)
MINIDLNA_CONF_ENV += LIBS="$(MINIDLNA_STATIC_LIBS)"
else