Commit 47692845 authored by Kalev Lember's avatar Kalev Lember

gio-2.0.pc: Avoid full path to executables

Instead of using full path in glib_compile_schemas and
glib_compile_resources variables, rely on having the executables in

This fixes the cross-compiling case where we cannot execute the binaries
for target system. Instead of executing the target system's binaries, we
need to use the native versions installed on the build host. The easiest
way to find the native executables is to just pick them up from PATH.

In addition, this brings gio-2.0.pc in line with glib-2.0.pc -- the
latter has historically only listed the executable name and not the full
parent 5739d896
...@@ -4,9 +4,9 @@ libdir=@libdir@ ...@@ -4,9 +4,9 @@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
giomoduledir=@GIO_MODULE_DIR@ giomoduledir=@GIO_MODULE_DIR@
glib_compile_schemas=@bindir@/glib-compile-schemas@EXEEXT@ glib_compile_schemas=glib-compile-schemas
glib_compile_resources=@bindir@/glib-compile-resources@EXEEXT@ glib_compile_resources=glib-compile-resources
gdbus_codegen=@bindir@/gdbus-codegen gdbus_codegen=gdbus-codegen
Name: GIO Name: GIO
Description: glib I/O library Description: glib I/O library
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment