mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Fix SYSCONFDIR to include "prefix"
SYSCONFDIR is used to determine the path of the default configuration file. 'sysconfdir' is set to 'prefix/sysconfdir' later (on line 139), so configuration files are installed under 'prefix', but SYSCONFDIR did not reflect it.
This commit is contained in:
parent
462e15d9a5
commit
6942f5b684
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ if scdoc.found()
|
|||
endforeach
|
||||
endif
|
||||
|
||||
add_project_arguments('-DSYSCONFDIR="/@0@"'.format(sysconfdir), language : 'c')
|
||||
add_project_arguments('-DSYSCONFDIR="/@0@/@1@"'.format(prefix, sysconfdir), language : 'c')
|
||||
|
||||
version = get_option('sway_version')
|
||||
if version != ''
|
||||
|
|
Loading…
Reference in a new issue