Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/47] package/cURL: fix static link whith openSSL
Date: Fri, 26 Oct 2012 19:25:14 +0200	[thread overview]
Message-ID: <201210261925.14598.yann.morin.1998@free.fr> (raw)
In-Reply-To: <5089B0C3.1060005@mind.be>

Arnout, All,

On Thursday 25 October 2012 Arnout Vandecappelle wrote:
> On 24/10/12 23:25, Yann E. MORIN wrote:
> > 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 the installed
> > libcurl.pc, if openSSL is enabled.
[--SNIP--]
> > +define LIBCURL_FIX_STAGING_PC
> > +	printf 'Requires: openssl\n'>>$(STAGING_DIR)/usr/lib/pkgconfig/libcurl.pc
> > +endef
> >   LIBCURL_POST_INSTALL_STAGING_HOOKS += LIBCURL_STAGING_FIXUP_CURL_CONFIG
> > +LIBCURL_POST_INSTALL_STAGING_HOOKS += $(if $(BR2_PACKAGE_OPENSSL),LIBCURL_FIX_STAGING_PC)
> 
>   Why not add it to $(@D)/libcurl.pc.in in a post-patch hook?  Then it only has
> to be done once, and I also feel it's a better place to patch things.

Yep, good idea! Thanks!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2012-10-26 17:25 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 21:25 [Buildroot] [PATCH 0/47] Add QEMU for runing on the target Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 01/47] package/cURL: fix static link whith openSSL Yann E. MORIN
2012-10-25 21:36   ` Arnout Vandecappelle
2012-10-26 17:25     ` Yann E. MORIN [this message]
     [not found]       ` <7D104BEF3E404707964408D74CCF1F01@JohanW7>
2012-10-26 20:39         ` [Buildroot] [PATCH 01/47] package/cURL: fix static link whithopenSSL Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 02/47] package/libfdt: new package Yann E. MORIN
2012-10-25 21:55   ` Arnout Vandecappelle
2012-10-26 17:36     ` Yann E. MORIN
2012-10-26 22:58       ` Arnout Vandecappelle
2012-10-24 21:25 ` [Buildroot] [PATCH 03/47] package/vde2: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 04/47] package/libiscsi: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 05/47] package/usbredir: " Yann E. MORIN
2012-10-25 22:04   ` Arnout Vandecappelle
2012-10-26 17:39     ` Yann E. MORIN
2012-10-26 23:00       ` Arnout Vandecappelle
2012-10-24 21:25 ` [Buildroot] [PATCH 06/47] package/celt051: " Yann E. MORIN
2012-10-27 19:10   ` Arnout Vandecappelle
2012-10-28 10:48     ` Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 07/47] package/python-pyparsing: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 08/47] package/spice-protocol: " Yann E. MORIN
2012-11-13 23:07   ` Arnout Vandecappelle
2012-10-24 21:25 ` [Buildroot] [PATCH 09/47] package/libcegui: " Yann E. MORIN
2012-11-13 23:12   ` Arnout Vandecappelle
2012-11-13 23:22     ` Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 10/47] package/slirp: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 11/47] package/spice-server: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 12/47] package/spice: enable client Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 13/47] package/spice: enable GUI Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 14/47] package/spice: enable slirp support Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 15/47] package/libseccomp: new package Yann E. MORIN
2012-10-24 22:20   ` Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 16/47] package/keyutils: " Yann E. MORIN
2012-10-25  8:33   ` Jarkko Sakkinen
2012-11-13 23:30     ` Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 17/47] package/pmake: add host pmake Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 18/47] package/libbsd: new package Yann E. MORIN
2012-10-24 21:32   ` Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 19/47] package/libedit2: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 20/47] package/ceph: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 21/47] package/qemu: " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 22/47] package/qemu: add basic target selection Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 23/47] package/qemu: add fine-grained " Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 24/47] package/qemu: add SDL frontends Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 25/47] package/qemu: add option to enable/disable the VNC frontend Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 26/47] package/qemu: add VNC jpeg and png compression Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 27/47] package/qemu: add VNC TLS-encryption Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 28/47] package/qemu: add option to not install blobs Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 29/47] package/qemu: add option to remove unwanted keymaps Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 30/47] package/qemu: add uuid support Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 31/47] package/qemu: add support for capabilities Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 32/47] package/qemu: add attr/xattr option Yann E. MORIN
2012-10-24 21:25 ` [Buildroot] [PATCH 33/47] package/qemu: add support for virtfs Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 34/47] package/qemu: add support for cURL Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 35/47] package/qemu: enable use of the curses frontend Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 36/47] package/qemu: add BlueZ connectivity Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 37/47] package/qemu: add AIO support Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 38/47] package/qemu: add support for FDT Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 39/47] package/qemu: add support for VDE switches Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 40/47] package/qemu: add iSCSI support Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 41/47] package/qemu: add support for USB redirection Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 42/47] package/qemu: add support for Spice Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 43/47] package/qemu: enable sound Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 44/47] package/qemu: add support for libseccomp Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 45/47] package/qemu: option to build the docs Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 46/47] package/qemu: move sub-options into a sub-menu Yann E. MORIN
2012-10-24 21:26 ` [Buildroot] [PATCH 47/47] package/qemu: enable a static build 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=201210261925.14598.yann.morin.1998@free.fr \
    --to=yann.morin.1998@free.fr \
    --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