From 087190a5b996f4bff5ddc4158ef439355e71a1ff Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Mon, 29 Jul 2024 18:50:17 -0400 Subject: [PATCH] Fix typelib location in binfiles. --- src/binfile.in | 2 +- src/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/binfile.in b/src/binfile.in index 1ee88fae..c0b38db8 100644 --- a/src/binfile.in +++ b/src/binfile.in @@ -5,7 +5,7 @@ if [ "$XDG_SESSION_TYPE" = "wayland" ]; then exit 1 fi -export GI_TYPELIB_PATH="@libexecdir@" +export GI_TYPELIB_PATH="@typelibdir@" export LD_LIBRARY_PATH="@libexecdir@" exec @install_dir@/@target@ "$@" diff --git a/src/meson.build b/src/meson.build index fce54ec4..dfaeb78a 100644 --- a/src/meson.build +++ b/src/meson.build @@ -63,6 +63,7 @@ foreach script : app_scripts prefix_info.set('install_dir', pkgdatadir) prefix_info.set('target', script[0]) prefix_info.set('libexecdir', libexecdir) + prefix_info.set('typelibdir', libexecdir / 'girepository-1.0') bin_file = configure_file( input : 'binfile.in',