All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/gobject-introspection: fix host version of .pc file for wrapper
Date: Sat, 2 May 2020 14:32:43 +0200	[thread overview]
Message-ID: <20200502143243.4e2b3ef3@windsurf.home> (raw)
In-Reply-To: <20200502060435.23004-1-james.hilliard1@gmail.com>

On Sat,  2 May 2020 00:04:35 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:

> diff --git a/package/gobject-introspection/gobject-introspection.mk b/package/gobject-introspection/gobject-introspection.mk
> index eefb2c83f7..d98eaf945a 100644
> --- a/package/gobject-introspection/gobject-introspection.mk
> +++ b/package/gobject-introspection/gobject-introspection.mk
> @@ -136,6 +136,36 @@ define GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
>  endef
>  GOBJECT_INTROSPECTION_POST_INSTALL_STAGING_HOOKS += GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
>  
> +define HOST_GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
> +	# Set prefix to /usr because pkg-config appends the sysroot directory
> +	$(SED) "s%^prefix=.*%prefix=\/usr%g" \
> +		$(HOST_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc

No, the host variant of pkg-config should not append the sysroot
directory. If it does, then it is wrong.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-05-02 12:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02  6:04 [Buildroot] [PATCH 1/1] package/gobject-introspection: fix host version of .pc file for wrapper James Hilliard
2020-05-02 12:32 ` Thomas Petazzoni [this message]
2020-05-02 19:36   ` James Hilliard
2020-05-03  6:14     ` James Hilliard
2020-05-03 11:48     ` Thomas Petazzoni
2020-05-03 11:56       ` James Hilliard
2020-05-03 17:10       ` Nicolas Cavallari
2020-05-03 19:45         ` Thomas Petazzoni
2020-05-03 22:53           ` James Hilliard
2020-05-03  8:36   ` Nicolas Cavallari
2020-05-03  8:56     ` James Hilliard

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=20200502143243.4e2b3ef3@windsurf.home \
    --to=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.