diff --git a/helpers/meson.build b/helpers/meson.build index bda568148f81491e91a78b84ac96be838b53b404..3c37a53a09cd5589c26c7e31bc4ac65f7fdf557c 100644 --- a/helpers/meson.build +++ b/helpers/meson.build @@ -25,10 +25,7 @@ executable( multiarch + '-true', 'true.c', install : true, - install_dir : join_paths( - get_option('libexecdir'), - 'steam-runtime-tools-' + api_major, - ) + install_dir : pkglibexecdir, ) executable( @@ -37,10 +34,7 @@ executable( include_directories : project_include_dirs, dependencies : [json_glib, glib], install : true, - install_dir : join_paths( - get_option('libexecdir'), - 'steam-runtime-tools-' + api_major, - ) + install_dir : pkglibexecdir, ) executable( @@ -48,10 +42,7 @@ executable( 'inspect-library.c', dependencies : [libdl], install : true, - install_dir : join_paths( - get_option('libexecdir'), - 'steam-runtime-tools-' + api_major, - ) + install_dir : pkglibexecdir, ) executable( diff --git a/meson.build b/meson.build index 8f64fa14b85f25192e4b6f82daae9294ae74b70b..55ca00642b893458776916bc7539d67a82fbe1c0 100644 --- a/meson.build +++ b/meson.build @@ -150,6 +150,11 @@ libdl = c_compiler.find_library('dl', required : false) project_include_dirs = include_directories('.') +pkglibexecdir = join_paths( + get_option('libexecdir'), + 'steam-runtime-tools-' + api_major, +) + if host_machine.cpu_family() == 'x86_64' multiarch = 'x86_64-linux-gnu' elif host_machine.cpu_family() == 'x86'