[Buildroot] [PATCH 01/51] package/cURL: fix static link whith openSSL
Peter Korsgaard
jacmet at uclibc.org
Mon Dec 3 07:21:41 UTC 2012
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
Yann> When openSSL is selected, cURL is configured to use it.
Yann> But in this case, the libcurl.pc file /forgets/ to require link
Yann> against -ldl.
Yann> This can happen, for example, when BR2_PREFER_STATIC_LIB is not set,
Yann> but an executable wants to be linked statically (for various reasons
Yann> which are irrelevant here).
Yann> Fix that by appending a 'Requires: openssl' line to libcurl.pc.in,
Yann> but only if openSSL is enabled.
Yann> As suggested by Arnout, do it in a post-patch hook, rather as a
Yann> post-install hook.
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list