diff options
author | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2018-05-01 20:47:55 +0200 |
---|---|---|
committer | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2018-05-05 17:22:46 +0200 |
commit | 830c4ef74c00dbe448da46cdbc576178abc5728e (patch) | |
tree | a0df4539f56d185a07d0a03a9c358ba775204c78 /sway | |
parent | 1670b46bf6e56d37e69ab0fa32c6799e83397020 (diff) | |
download | sway-830c4ef74c00dbe448da46cdbc576178abc5728e.tar.xz |
Meson: Replace option `instlibdir` with `libexecdir`
Derive a value from it, called `rundir` rather than writing join_paths(libexecdir,
'sway') all over the place.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/exec_always.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c index 3f3a7940..aaee940b 100644 --- a/sway/commands/exec_always.c +++ b/sway/commands/exec_always.c @@ -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); |