[glib: 1/2] Use absolute paths in pkg-config files
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Use absolute paths in pkg-config files
- Date: Mon, 17 Sep 2018 09:54:20 +0000 (UTC)
commit 201cdd74f0062ed36a59694d5712d155820219d8
Author: Jonas Witschel <diabonas gmx de>
Date: Tue Sep 11 17:26:33 2018 +0200
Use absolute paths in pkg-config files
According to https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/,
pkg-config files should use absolute paths in variables. This fixes
commit 47692845c0a062a76f99b5de125c5eafa4556847.
Closes #1521
gio-2.0.pc.in | 7 ++++---
glib-2.0.pc.in | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gio-2.0.pc.in b/gio-2.0.pc.in
index 999e1c080..afd3a40a6 100644
--- a/gio-2.0.pc.in
+++ b/gio-2.0.pc.in
@@ -5,10 +5,11 @@ includedir=@includedir@
datadir=@datadir@
schemasdir=${datadir}/glib-2.0/schemas
+bindir=@bindir@
giomoduledir=@GIO_MODULE_DIR@
-glib_compile_schemas=glib-compile-schemas
-glib_compile_resources=glib-compile-resources
-gdbus_codegen=gdbus-codegen
+glib_compile_schemas=${bindir}/glib-compile-schemas
+glib_compile_resources=${bindir}/glib-compile-resources
+gdbus_codegen=${bindir}/gdbus-codegen
Name: GIO
Description: glib I/O library
diff --git a/glib-2.0.pc.in b/glib-2.0.pc.in
index 275fc0163..3c5ea81dc 100644
--- a/glib-2.0.pc.in
+++ b/glib-2.0.pc.in
@@ -3,9 +3,10 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-glib_genmarshal=glib-genmarshal
-gobject_query=gobject-query
-glib_mkenums=glib-mkenums
+bindir=@bindir@
+glib_genmarshal=${bindir}/glib-genmarshal
+gobject_query=${bindir}/gobject-query
+glib_mkenums=${bindir}/glib-mkenums
Name: GLib
Description: C Utility Library
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]