mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Meson: Replace option instlibdir with libexecdir
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir, 'sway') all over the place.
This commit is contained in:
parent
1670b46bf6
commit
830c4ef74c
5 changed files with 9 additions and 9 deletions
|
|
@ -55,8 +55,8 @@ struct cmd_results *cmd_exec_always(int argc, char **argv) {
|
|||
if ((*child = fork()) == 0) {
|
||||
// Acquire the current PATH
|
||||
char *path = getenv("PATH");
|
||||
const char *extra_path = ":" INSTLIBDIR;
|
||||
const size_t extra_size = sizeof(INSTLIBDIR) + 1;
|
||||
const char *extra_path = ":" SWAY_LIBEXECDIR;
|
||||
const size_t extra_size = sizeof(SWAY_LIBEXECDIR) + 1;
|
||||
|
||||
if (!path) {
|
||||
size_t n = confstr(_CS_PATH, NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue