package/lynx: fix build with libidn
authorVadim Kochan <vadim4j@gmail.com>
Tue, 14 May 2019 20:25:47 +0000 (23:25 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 15 May 2019 09:53:42 +0000 (11:53 +0200)
commitd0126c5d4b169d636bb4aa7f9fd6de118c9537b5
treefe2e4c7b527141ffcb076c91d74d6a9aeac80ae0
parent0644b8f79c12f1ac85e68c83ca51fbb6b3027a18
package/lynx: fix build with libidn

In case of BR2_STATIC_LIBS=y the linking with libidn fails because
linker can't resolve libiconv symbols needed by libidn. Fix it by
required LIBS for libidn generated by pkg-conf.

The issue can be reproduced with the following defconfig:

BR2_x86_i686=y
BR2_STATIC_LIBS=y
BR2_PACKAGE_LIBICONV=y
BR2_PACKAGE_LIBIDN=y
BR2_PACKAGE_LYNX=y

Fixes:
http://autobuild.buildroot.net/results/23a421e15c32b17ff2f69f183a2e8620ecb93316/

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lynx/lynx.mk