summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/curl
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-04-05 12:08:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-03 09:53:47 +0100
commitedad03b919e93168f11f10aa4a0469f0717996d5 (patch)
treeb4e67429711a60905807612b45905d1c76fb810c /meta/recipes-support/curl
parentdf6d284c66326b8148736e9998b5b95856b1f0ba (diff)
downloadpoky-edad03b919e93168f11f10aa4a0469f0717996d5.tar.gz
curl: DEPENDS on libidn2 (not libidn)
Since v7.51.0, libidn2 is the only available option, libidn support was dropped. The configure option was renamed as of v7.53.0 Therefore, curl unconditionally tries to build against libidn2, which in particular is a problem for curl-native, as that might or might not build against the build-machine's libidn2 now, which furthermore causes problems when trying to share sstate between multiple build machines. We therefore see the following in the config log: ... checking whether to build with libidn2... (assumed) yes ... checking for libidn2 options with pkg-config... no configure: IDN_LIBS: "-lidn2" configure: IDN_LDFLAGS: "" configure: IDN_CPPFLAGS: "" configure: IDN_DIR: "" checking if idn2_lookup_ul can be linked... yes checking idn2.h usability... yes checking idn2.h presence... yes checking for idn2.h... yes ... IDN support: enabled (libidn2) ... even though this recipe tries to disable that. While libidn2 isn't available in OE, this change at least: * prevents curl-native to silently build against libidn2 if that is installed on build machine, even if not requested * alerts people who use the PACKAGECONFIG option that it's not actually doing what they intend to do (From OE-Core rev: 705eaea991622bdbb2ee83eefa8df8e665e3efe4) (From OE-Core rev: 6ec8cb59b2f58784a9f74afa6018791694f8a030) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r--meta/recipes-support/curl/curl_7.58.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/curl/curl_7.58.0.bb b/meta/recipes-support/curl/curl_7.58.0.bb
index 5535a5609b..d2d0180268 100644
--- a/meta/recipes-support/curl/curl_7.58.0.bb
+++ b/meta/recipes-support/curl/curl_7.58.0.bb
@@ -34,7 +34,7 @@ PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
34PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 34PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
35PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap," 35PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,"
36PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps," 36PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
37PACKAGECONFIG[libidn] = "--with-libidn,--without-libidn,libidn" 37PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
38PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2" 38PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
39PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3," 39PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
40PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy," 40PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy,"