Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/cURL: fix static link whith openSSL
Date: Thu, 23 Aug 2012 11:00:34 +0200	[thread overview]
Message-ID: <20120823110034.1f0b01d8@skate> (raw)
In-Reply-To: <1345667823-16633-1-git-send-email-yann.morin.1998@free.fr>

Le Wed, 22 Aug 2012 22:37:03 +0200,
"Yann E. MORIN" <yann.morin.1998@free.fr> a ?crit :

> 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 conditionally append -ldl to the Libs.Private section of
> the installed libcurl.pc if openSSL is enabled.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Shouldn't this rather be fixed through a patch that gets submitted to
the upstream curl project?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2012-08-23  9:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 20:37 [Buildroot] [PATCH] package/cURL: fix static link whith openSSL Yann E. MORIN
2012-08-23  9:00 ` Thomas Petazzoni [this message]
2012-08-23 21:11   ` Yann E. MORIN
2012-08-23 21:25     ` Yann E. MORIN
  -- strict thread matches above, loose matches on Subject: below --
2012-09-05 22:01 Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120823110034.1f0b01d8@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox