Skip to content

gobject-introspection, recipe: Fix more fallout from the Meson dylib ID fixes

Hi all,

This is a hotfix for some issues regarding relocatable libraries.

The first commit addresses gobject-introspection needing RPATH for its own introspection binaries.

The second commit addresses an issue in the preexisting Recipe implementation regarding Darwin-only steps code_sign and relocate_osx_libraries. In the metaclass MetaUniversalRecipe all the steps are wrapped into inline functions to ensure that they are run across all architecture. However, this did not apply for steps not listed in the BuildSteps constructor; for these cases, it would fail over to the proxy recipe, and that caused only one architecture's binaries to be actually relocated.

This had no discernible effect until I fixed the dylib IDs. In my own case, I did not notice things because it depends on which architecture is loaded first, and thus considered as proxy; e.g. for Orc the proxy recipe seems to be x86_64, but for GStreamer it's arm64.

See !1485 (merged)

Merge request reports