aboutsummaryrefslogtreecommitdiff
path: root/package/libglib2/libglib2-pkgconfig-cc.patch
blob: 44e236fa3ab0df7b3d98789315841158c2904269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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=${BIN_DIR}glib-genmarshal
+gobject_query=$(BIN_DIR}gobject-query
+glib_mkenums=${BIN_DIR}glib-mkenums
 
 Name: GLib
 Description: C Utility Library