Skip to content
Snippets Groups Projects
Commit 340c4080 authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Factor out common installation path for helpers

parent c93aa4f9
No related branches found
No related tags found
1 merge request!77Look for vulkaninfo, wflinfo in SRT_HELPERS_PATH
......@@ -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(
......
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment