mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-12 23:03:29 +08:00
822b3f0b0f
The configure script / Makefile forgets to link with some of the dependent libraries breaking static linking, so help it along. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
827 B
Makefile
27 lines
827 B
Makefile
################################################################################
|
|
#
|
|
# minidlna
|
|
#
|
|
################################################################################
|
|
|
|
MINIDLNA_VERSION = 1.1.1
|
|
MINIDLNA_SITE = http://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION)
|
|
MINIDLNA_LICENSE = GPLv2 BSD-3c
|
|
MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd
|
|
|
|
MINIDLNA_DEPENDENCIES = \
|
|
ffmpeg flac libvorbis libogg libid3tag libexif libjpeg sqlite \
|
|
host-xutil_makedepend
|
|
|
|
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'
|
|
else
|
|
MINIDLNA_CONF_OPT = \
|
|
--disable-static
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|