Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files
@ 2015-09-24 11:04 wenzong.fan
  2015-09-29  7:47 ` wenzong fan
  0 siblings, 1 reply; 2+ messages in thread
From: wenzong.fan @ 2015-09-24 11:04 UTC (permalink / raw)
  To: openembedded-core

From: Wenzong Fan <wenzong.fan@windriver.com>

* gio-2.0.pc:
  -L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64

* gobject-2.0.pc:
  -L/path/to/tmp/sysroots/qemux86-64/usr/lib64/../lib64
    -> -L/usr/lib64/../lib64

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-core/glib-2.0/glib.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 072f790..4ccdb93 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -75,6 +75,12 @@ do_install_append () {
 	fi
 }
 
+do_install_append_class-target() {
+	# cleanup buildpaths from gio-2.0.pc, gobject-2.0.pc
+	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gio-2.0.pc
+	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gobject-2.0.pc
+}
+
 RDEPENDS_${PN}-ptest += "\
             gnome-desktop-testing \
             tzdata \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files
  2015-09-24 11:04 [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files wenzong.fan
@ 2015-09-29  7:47 ` wenzong fan
  0 siblings, 0 replies; 2+ messages in thread
From: wenzong fan @ 2015-09-29  7:47 UTC (permalink / raw)
  To: openembedded-core

recall this patch, I'll send out v2 for update commit logs.

Wenzong

On 09/24/2015 07:04 PM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> * gio-2.0.pc:
>    -L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64
>
> * gobject-2.0.pc:
>    -L/path/to/tmp/sysroots/qemux86-64/usr/lib64/../lib64
>      -> -L/usr/lib64/../lib64
>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
>   meta/recipes-core/glib-2.0/glib.inc | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
> index 072f790..4ccdb93 100644
> --- a/meta/recipes-core/glib-2.0/glib.inc
> +++ b/meta/recipes-core/glib-2.0/glib.inc
> @@ -75,6 +75,12 @@ do_install_append () {
>   	fi
>   }
>
> +do_install_append_class-target() {
> +	# cleanup buildpaths from gio-2.0.pc, gobject-2.0.pc
> +	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gio-2.0.pc
> +	sed -i -e 's#${STAGING_DIR_HOST}##g' ${D}${libdir}/pkgconfig/gobject-2.0.pc
> +}
> +
>   RDEPENDS_${PN}-ptest += "\
>               gnome-desktop-testing \
>               tzdata \
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-29  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 11:04 [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files wenzong.fan
2015-09-29  7:47 ` wenzong fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox