gobject-introspection: use targetOffset to look for libraries for target

fixes it finding the build and target gobject-introspection when it should only find the
target gobject-introspection
This commit is contained in:
Artturin 2022-06-14 23:30:55 +03:00
parent a83d2f7c91
commit 71cbf3b809

View file

@ -10,7 +10,7 @@ make_gobject_introspection_find_gir_files() {
fi
}
addEnvHooks "$hostOffset" make_gobject_introspection_find_gir_files
addEnvHooks "$targetOffset" make_gobject_introspection_find_gir_files
giDiscoverSelf() {
if [ -d "$prefix/lib/girepository-1.0" ]; then