diff options
author | 2018-05-06 00:19:52 +0100 | |
---|---|---|
committer | 2018-05-06 00:19:52 +0100 | |
commit | 2c0c3dc7cc3599a79fa464e1c093dead86f3cb65 (patch) | |
tree | 0ca9fb1f5789b350330694fc195529552a61b6bc /meson.build | |
parent | Revert "Meson: Replace option `instlibdir` with `libexecdir`" (diff) | |
download | sway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.tar.gz sway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.tar.zst sway-2c0c3dc7cc3599a79fa464e1c093dead86f3cb65.zip |
Revert "Make the LIBDIR path configurable"
This reverts commit 1670b46bf6e56d37e69ab0fa32c6799e83397020.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meson.build b/meson.build index 57dbea02..bf266e5f 100644 --- a/meson.build +++ b/meson.build | |||
@@ -19,13 +19,6 @@ is_freebsd = host_machine.system().startswith('freebsd') | |||
19 | datadir = get_option('datadir') | 19 | datadir = get_option('datadir') |
20 | sysconfdir = get_option('sysconfdir') | 20 | sysconfdir = get_option('sysconfdir') |
21 | prefix = get_option('prefix') | 21 | prefix = get_option('prefix') |
22 | instlibdir = get_option('instlibdir') | ||
23 | |||
24 | if instlibdir == '' | ||
25 | instlibdir = join_paths(prefix, 'lib/sway') | ||
26 | endif | ||
27 | add_project_arguments('-DINSTLIBDIR="/@0@"'.format(instlibdir), language : 'c') | ||
28 | |||
29 | 22 | ||
30 | jsonc = dependency('json-c', version: '>=0.13') | 23 | jsonc = dependency('json-c', version: '>=0.13') |
31 | pcre = dependency('libpcre') | 24 | pcre = dependency('libpcre') |