Skip to contentSkip to conversation

package/minidlna: fix static linking

PATCH New Bernd Kuhls 2 participants 2 messages Nov 29, 2014 – Dec 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/minidlna: fix static linking

Fixes
http://autobuild.buildroot.net/results/6bd/6bd8c009056beb67092abd6d18064500302dcecb/

---
This patch depends on http://patchwork.ozlabs.org/patch/416006/

 package/minidlna/minidlna.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/minidlna/minidlna.mk +3 -1
index 3a0ca35..d483e1c 100644
@@ -18,8 +18,10 @@ ifeq ($(BR2_PREFER_STATIC_LIB),y)
 # the configure script / Makefile forgets to link with some of the dependent
 # libraries breaking static linking, so help it along
 MINIDLNA_CONF_ENV = \
-	LIBS='-lavformat -lavcodec -lavutil -logg \
+	LIBS='-lavformat -lavcodec -lavutil -logg -lvorbis -lvorbisenc \
+		$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl) -lexif \
 		$(if $(BR2_PACKAGE_OPENSSL),-lssl -lcrypto) \
+		$(if $(BR2_PACKAGE_OPUS),-lswresample -lopus) \
 		-lz -lpthread -lm'
 else
 MINIDLNA_CONF_OPTS = \
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/minidlna: fix static linking

Bernd, All,

On 2014-11-29 20:33 +0100, Bernd Kuhls spake thusly:

Quoted 15 lines

Fixes
http://autobuild.buildroot.net/results/6bd/6bd8c009056beb67092abd6d18064500302dcecb/

---
This patch depends on http://patchwork.ozlabs.org/patch/416006/

 package/minidlna/minidlna.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/minidlna/minidlna.mk +0 -0
index 3a0ca35..d483e1c 100644

package/minidlna/minidlna.mk ifeq ($(BR2_PREFER_STATIC_LIB),y) · line 24

Quoted 8 lines
package/minidlna/minidlna.mk +3 -1
@@ -18,8 +18,10 @@ ifeq ($(BR2_PREFER_STATIC_LIB),y)
 # the configure script / Makefile forgets to link with some of the dependent
 # libraries breaking static linking, so help it along
 MINIDLNA_CONF_ENV = \
-	LIBS='-lavformat -lavcodec -lavutil -logg \
+	LIBS='-lavformat -lavcodec -lavutil -logg -lvorbis -lvorbisenc \
+		$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl) -lexif \
 		$(if $(BR2_PACKAGE_OPENSSL),-lssl -lcrypto) \
+		$(if $(BR2_PACKAGE_OPUS),-lswresample -lopus) \

Ofd course, this should be adapted with the previous comment to your previous patch.

But hold on on it, I'd like Thomas P. to ack my comment before you work on it...

Regards,
Yann E. MORIN.

Quoted 10 lines
package/minidlna/minidlna.mk +0 -0
 		-lz -lpthread -lm'
 else
 MINIDLNA_CONF_OPTS = \
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'