mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-05 20:58:29 +02:00
Fix loading shipped config when using a prefix other than /usr
Also remove recommendation to modify `/usr/share/gamemode/gamemode.ini`. `/usr/share` is intended to contain read-only data files. See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html.
This commit is contained in:

committed by
afayaz-feral

parent
126e67fb6b
commit
5e366bd55d
@@ -142,6 +142,7 @@ pidfd_open = cc.has_function('pidfd_open', args: '-D_GNU_SOURCE')
|
||||
|
||||
cdata = configuration_data()
|
||||
cdata.set_quoted('LIBEXECDIR', path_libexecdir)
|
||||
cdata.set_quoted('SYSCONFDIR', path_sysconfdir)
|
||||
cdata.set_quoted('GAMEMODE_VERSION', meson.project_version())
|
||||
cdata.set10('HAVE_FN_PIDFD_OPEN', pidfd_open)
|
||||
|
||||
|
Reference in New Issue
Block a user