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 1/1] host-pkgconf: Link pkg-config to $(TARGET_CROSS)pkg-config
Date: Thu, 30 Jan 2014 22:00:44 +0100	[thread overview]
Message-ID: <20140130220044.18e0df2b@skate> (raw)
In-Reply-To: <BLU0-SMTP164ACFAA7CA060FF57A950ED9BB0@phx.gbl>

Dear Bernd Kuhls,

On Sat, 18 Jan 2014 09:31:45 +0100, Bernd Kuhls wrote:
> Fixes ffmpeg configure warning
> 
> WARNING: /home/test/buildroot/output/host/usr/bin/nios2-linux-gnu-pkg-config not found, library detection may fail
> 
> found in
> http://autobuild.buildroot.net/results/c66/c663a518f65e786895d9ad8866193f70cbd6e96d/
> 
> Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
> ---
>  package/pkgconf/pkgconf.mk |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk
> index f3f6526..f467d66 100644
> --- a/package/pkgconf/pkgconf.mk
> +++ b/package/pkgconf/pkgconf.mk
> @@ -22,6 +22,7 @@ define HOST_PKGCONF_INSTALL_WRAPPER
>  	$(SED) 's, at PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,' \
>  		-e 's, at STAGING_DIR@,$(STAGING_DIR),' \
>  		$(HOST_DIR)/usr/bin/pkg-config
> +	ln -sf pkg-config $(TARGET_CROSS)pkg-config
>  endef
>  
>  PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG

I think I'd prefer to have ffmpeg told to use the correct pkg-config
rather than adding this symbolic link.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2014-01-30 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18  8:31 [Buildroot] [PATCH 1/1] host-pkgconf: Link pkg-config to $(TARGET_CROSS)pkg-config Bernd Kuhls
2014-01-30 21:00 ` Thomas Petazzoni [this message]

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=20140130220044.18e0df2b@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