summaryrefslogtreecommitdiff
path: root/package/libglib2/libglib2-pkgconfig-cc.patch
diff options
context:
space:
mode:
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