Skip to content
Commit de0e7fe3 authored by Fabrice Fontaine's avatar Fabrice Fontaine
Browse files

MakeLists.txt: fix static build with curl and libidn2

curl can be statically linked with libidn2, in this case, build fails:
/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-0/output/host/m68k-buildroot-linux-uclibc/sysroot/usr/lib/libcurl.a(libcurl_la-url.o): In function `free_idnconverted_hostname.isra.1':
url.c:(.text+0xf4): undefined reference to `idn2_free'

To fix this issue, add a call to pkg_check_modules to retrieve any
needed dependencies

Fixes:
 - http://autobuild.buildroot.org/results/be5893b507d22a23951efeea20c18642742cef5a



Signed-off-by: default avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
parent 4f8fc1ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment