Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/minidlna: fix static linking with OpenSSL enabled
@ 2014-11-29 19:28 Bernd Kuhls
  2014-12-07 21:10 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kuhls @ 2014-11-29 19:28 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/c38/c388b71ae154c062a863a35eca70a8c2ce121524/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/minidlna/minidlna.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk
index 9e997f3..3a0ca35 100644
--- a/package/minidlna/minidlna.mk
+++ b/package/minidlna/minidlna.mk
@@ -18,7 +18,9 @@ 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 -lz -lpthread -lm'
+	LIBS='-lavformat -lavcodec -lavutil -logg \
+		$(if $(BR2_PACKAGE_OPENSSL),-lssl -lcrypto) \
+		-lz -lpthread -lm'
 else
 MINIDLNA_CONF_OPTS = \
 	--disable-static
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-07 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29 19:28 [Buildroot] [PATCH 1/1] package/minidlna: fix static linking with OpenSSL enabled Bernd Kuhls
2014-12-07 21:10 ` Yann E. MORIN
2014-12-07 21:52   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox