summaryrefslogtreecommitdiffstats
path: root/package/libglib2/libglib2-pkgconfig-cc.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-16 15:49:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-16 15:49:03 +0000
commit01bcd0320e65c0b9c07a54b172b86ca37f3b5a68 (patch)
tree5735a13bebdb0f182f22f80375086914c4bff57e /package/libglib2/libglib2-pkgconfig-cc.patch
parentfe202a6f8589b3043a92dd58317044ad0e431a2c (diff)
downloadbuildroot-novena-01bcd0320e65c0b9c07a54b172b86ca37f3b5a68.tar.gz
buildroot-novena-01bcd0320e65c0b9c07a54b172b86ca37f3b5a68.zip
libglib2: build host version for build-time binaries
Build host version of glib in HOST_DIR and use the build-time binaries from there instead of relying on what is installed on the host.
Diffstat (limited to 'package/libglib2/libglib2-pkgconfig-cc.patch')
-rw-r--r--package/libglib2/libglib2-pkgconfig-cc.patch24
1 files changed, 18 insertions, 6 deletions
diff --git a/package/libglib2/libglib2-pkgconfig-cc.patch b/package/libglib2/libglib2-pkgconfig-cc.patch
index 36a2487b3..44e236fa3 100644
--- a/package/libglib2/libglib2-pkgconfig-cc.patch
+++ b/package/libglib2/libglib2-pkgconfig-cc.patch
@@ -1,15 +1,27 @@
---- a/glib-2.0.pc.in 2007-01-16 18:24:39.000000000 -0500
-+++ b/glib-2.0.pc.in 2008-02-09 09:25:28.000000000 -0500
-@@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
+glib2: prefix glib binaries in pkgconfig file with BIN_DIR
+
+Make sure the host versions of the glib binaries are used.
+---
+ glib-2.0.pc.in | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+Index: glib-2.18.4/glib-2.0.pc.in
+===================================================================
+--- glib-2.18.4.orig/glib-2.0.pc.in
++++ glib-2.18.4/glib-2.0.pc.in
+@@ -1,11 +1,12 @@
++BIN_DIR=
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-glib_genmarshal=glib-genmarshal
-gobject_query=gobject-query
-glib_mkenums=glib-mkenums
-+glib_genmarshal=/usr/bin/glib-genmarshal
-+gobject_query=/usr/bin/gobject-query
-+glib_mkenums=/usr/bin/glib-mkenums
++glib_genmarshal=${BIN_DIR}glib-genmarshal
++gobject_query=$(BIN_DIR}gobject-query
++glib_mkenums=${BIN_DIR}glib-mkenums
Name: GLib
Description: C Utility Library