From 983d3a95526577856a65754be9dbbc135c927a7a Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 5 Nov 2024 03:15:26 +0000 Subject: [PATCH] glib2: fix pkg-config path for glib_compile_schemas Some applications using Glib2 require using glib_compile_schemas during build and deduct the path of that executable via pkg-config. This currently fails as the path is not fixed in gio.pc. Fix that by adding glib_compile_schemas to the sed expression taking care of applying prefix_hostpkg. Signed-off-by: Daniel Golle --- libs/glib2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/glib2/Makefile b/libs/glib2/Makefile index fd30be288b..a24a2f3450 100644 --- a/libs/glib2/Makefile +++ b/libs/glib2/Makefile @@ -104,7 +104,7 @@ define Build/InstallDev $(foreach BIN,glib_genmarshal glib_mkenums, $(SED) 's/^$(BIN)=$$$${bindir}\/\(.*\)/$(BIN)=$$$${prefix_hostpkg}\/bin\/\1/' $(1)/usr/lib/pkgconfig/glib-2.0.pc ) - $(foreach BIN,glib_compile_resources gdbus_codegen, + $(foreach BIN,glib_compile_resources glib_compile_schemas gdbus_codegen, $(SED) 's/^$(BIN)=$$$${bindir}\/\(.*\)/$(BIN)=$$$${prefix_hostpkg}\/bin\/\1/' $(1)/usr/lib/pkgconfig/gio-2.0.pc )