[Buildroot] [PATCH] minidlna: Fix automagic dependency to libiconv
Peter Korsgaard
jacmet at uclibc.org
Tue Aug 27 22:17:34 UTC 2013
>>>>> "Markos" == Markos Chandras <markos.chandras at imgtec.com> writes:
Markos> minidlna will detect and use the libiconv library if
Markos> the package is selected. In that case, we need to link
Markos> against -liconv.
Markos> Fixes the following linking problem:
Markos> taguitils/tagutils.o: In function `do_iconv.constprop.6':
Markos> tagutils.c:(.text+0x4d5c): undefined reference to `libiconv_open'
Markos> tagutils.c:(.text+0x4da0): undefined reference to `libiconv'
Markos> tagutils.c:(.text+0x4e08): undefined reference to `libiconv_close'
Markos> Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
Markos> ---
Markos> package/minidlna/minidlna.mk | 11 ++++++++++-
Markos> 1 file changed, 10 insertions(+), 1 deletion(-)
Markos> diff --git a/package/minidlna/minidlna.mk b/package/minidlna/minidlna.mk
Markos> index 10e3b33..e1a56ef 100644
Markos> --- a/package/minidlna/minidlna.mk
Markos> +++ b/package/minidlna/minidlna.mk
Markos> @@ -19,12 +19,21 @@ MINIDLNA_CFLAGS=$(TARGET_CFLAGS) \
Markos> -I"$(STAGING_DIR)/usr/include/libavcodec" \
Markos> -I"$(STAGING_DIR)/usr/include/libavformat"
Markos> +MINIDLNA_COMMON_LIBS=-lpthread -lexif -ljpeg -lsqlite3 -lavformat -lavutil -lavcodec -lid3tag -lFLAC -logg -lvorbis
We normally add a space around '=' and wrap long lines.
Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list