meson - fix dir_sysconf to be under the prefix as it was not

dir_sysconf was set to "etc". not even a /.  this meant
enlightenment_sys couldnt find/load sysactions.conf as it used a
non-relocatable fixed location due to security (setuid root) reasons.
This commit is contained in:
Carsten Haitzler 2018-05-17 03:11:37 +09:00
parent 5a1e9a995c
commit f20762a82d
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ dir_module_e = join_paths(dir_lib, proj, 'modules')
dir_util_e = join_paths(dir_lib, proj, 'utils')
dir_pc = join_paths(dir_data, 'pkgconfig')
if dir_sysconf == 'etc'
dir_sysconf = join_paths(dir_prefix, dir_sysconf)
endif
suid_exes = []
pkgconfig = import('pkgconfig')