package/minidlna: fix static build
PATCH 1/1 package/minidlna: fix static build
libvorbix.pc does not exist, it is named vorbis.pc. Also, sqlite3 was missing when querying pkg-config.
--- package/minidlna/minidlna.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/minidlna/minidlna.mk +2 -1
@@ -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
Signature · 1 line
1.9.1
PATCH 1/1 package/minidlna: fix static build
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
libvorbix.pc does not exist, it is named vorbis.pc.
libvorbis.pc
Quoted 1 line
Also, sqlite3 was missing when querying pkg-config.
No autobuilder references?
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/minidlna: fix static build
Quoted 10 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Yann" == Yann E MORIN <[email protected]> writes:
libvorbix.pc does not exist, it is named vorbis.pc.
libvorbis.pc
Quoted 1 line
Also, sqlite3 was missing when querying pkg-config.
No autobuilder references?
Looking at the autobuilder failures
(http://autobuild.buildroot.net/?reason=minidlna-1.1.5) they all seem to be caused by BR2_COMPILER_PARANOID_UNSAFE_PATH and the configure script adding /usr/local when checking for libraries/headers :/
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/minidlna: fix static build
Quoted 9 lines · Peter Korsgaard
Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Yann" == Yann E MORIN <[email protected]> writes:
libvorbix.pc does not exist, it is named vorbis.pc.
libvorbis.pc
Quoted 1 line
Also, sqlite3 was missing when querying pkg-config.
Quoted 14 lines
Quoted 1 line
No autobuilder references?
Looking at the autobuilder failures
(http://autobuild.buildroot.net/?reason=minidlna-1.1.5) they all seem to
be caused byBR2_COMPILER_PARANOID_UNSAFE_PATHand the configure script adding/usr/localwhen checking for libraries/headers :/Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Peter,
If you look earlier in the config.log,
you'll see the actual errors.
Looking at configure.ac, it becomes
obvious why that happens:
for l in "" /usr/lib ... do ...
Regards,
Yann E. MORIN.
Signature · 4 lines
Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151119/6f6ae9a7/attachment.html>