diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2012-11-28 13:54:00 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-02 23:21:00 -0800 |
commit | 61d322c3d258072460fddbab0b39c8bf4cc3e0bc (patch) | |
tree | ba4965cc639494ec5f1344a4b72dc9c2ce662ffa /docs/copyright.txt | |
parent | d1692abc007d2c50568e885d7ab6a312e3f8ae1e (diff) | |
download | buildroot-novena-61d322c3d258072460fddbab0b39c8bf4cc3e0bc.tar.gz buildroot-novena-61d322c3d258072460fddbab0b39c8bf4cc3e0bc.zip |
package/cURL: fix static link whith openSSL
When openSSL is selected, cURL is configured to use it.
But in this case, the libcurl.pc file /forgets/ to require link
against -ldl.
This can happen, for example, when BR2_PREFER_STATIC_LIB is not set,
but an executable wants to be linked statically (for various reasons
which are irrelevant here).
Fix that by appending a 'Requires: openssl' line to libcurl.pc.in,
but only if openSSL is enabled.
As suggested by Arnout, do it in a post-patch hook, rather as a
post-install hook.
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs/copyright.txt')
0 files changed, 0 insertions, 0 deletions