diff --git a/meson_post_install.py b/meson_post_install.py index 78133103..22f0539a 100755 --- a/meson_post_install.py +++ b/meson_post_install.py @@ -80,6 +80,9 @@ def post_install_relocation(): # # TODO: Meson >=0.63 has a new feature, -Dpkgconfig.relocatable=true. + if not relocation: + return + pc_filepath = next( v for (k,v) in introspection['installed'].items() if k.endswith('.pc') )