parent
2ee9d92599
commit
d07572e1b7
18
meson.build
18
meson.build
@ -72,19 +72,19 @@ else
|
|||||||
split_usr = get_option('split-usr') == 'true'
|
split_usr = get_option('split-usr') == 'true'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
rootprefix_default = split_usr ? '/' : '/usr'
|
rootprefix = get_option('rootprefix')
|
||||||
rootprefix_path = get_option('rootprefix')
|
rootprefix_default = '/'
|
||||||
rootprefix = rootprefix_path != '' ? rootprefix_path : rootprefix_default
|
if rootprefix == ''
|
||||||
|
rootprefix = rootprefix_default
|
||||||
|
endif
|
||||||
|
|
||||||
bindir = rootprefix / get_option('bindir')
|
bindir = rootprefix / get_option('bindir')
|
||||||
libdir = rootprefix / get_option('libdir')
|
libdir = rootprefix / get_option('libdir')
|
||||||
if os == 'Linux' and split_usr
|
libexecdir = get_option('libexecdir')
|
||||||
libexecpath = 'lib'
|
if os == 'Linux' and libexecdir == 'libexec'
|
||||||
else
|
libexecdir = 'lib'
|
||||||
libexecpath = get_option('libexecdir')
|
|
||||||
endif
|
endif
|
||||||
libexecdir = split_usr ? rootprefix / libexecpath :
|
libexecdir = rootprefix / libexecdir
|
||||||
get_option('prefix') / libexecpath
|
|
||||||
rc_libexecdir = libexecdir / 'rc'
|
rc_libexecdir = libexecdir / 'rc'
|
||||||
sbindir = rootprefix / get_option('sbindir')
|
sbindir = rootprefix / get_option('sbindir')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user