diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/build-tools/glib-tools.recipe | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/build-tools/glib-tools.recipe b/recipes/build-tools/glib-tools.recipe index 620fe9ec..b17f6833 100644 --- a/recipes/build-tools/glib-tools.recipe +++ b/recipes/build-tools/glib-tools.recipe @@ -29,3 +29,8 @@ class Recipe(recipe.Recipe): if self.config.platform == Platform.DARWIN: self.append_env('CFLAGS', '-Wno-error=int-conversion') + + if self.config.platform in [Platform.DARWIN, Platform.IOS]: + # Meson doesn't yet introduce rpaths properly. + # https://github.com/mesonbuild/meson/issues/2121#issuecomment-347535874 + self.append_env('LDFLAGS', f'-Wl,-rpath,{self.config.libdir}') |