diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 6c59e9b5..585ebb2d 100644 --- a/meson.build +++ b/meson.build @@ -78,7 +78,13 @@ rootprefix = rootprefix_path != '' ? rootprefix_path : rootprefix_default bindir = rootprefix / get_option('bindir') libdir = rootprefix / get_option('libdir') -libexecdir = rootprefix / get_option('libexecdir') +if os == 'Linux' and split_usr + libexecpath = 'lib' +else + libexecpath = get_option('libexecdir') +endif +libexecdir = split_usr ? rootprefix / libexecpath : + get_option('prefix') / libexecpath rc_libexecdir = libexecdir / 'rc' sbindir = rootprefix / get_option('sbindir') |