discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3cb88fe76aea2e73919d66344a24727a0d722ba0

commit 3cb88fe76aea2e73919d66344a24727a0d722ba0
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu May 17 03:11:37 2018 +0900

    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.
---
 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index a2c134ad6..4ea695a9e 100644
--- a/meson.build
+++ b/meson.build
@@ -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')

-- 


Reply via email to