mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
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 <daniel@makrotopia.org>
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user