mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Make the LIBDIR path configurable
This commit is contained in:
parent
7709340727
commit
1670b46bf6
5 changed files with 12 additions and 4 deletions
|
|
@ -19,6 +19,13 @@ is_freebsd = host_machine.system().startswith('freebsd')
|
|||
datadir = get_option('datadir')
|
||||
sysconfdir = get_option('sysconfdir')
|
||||
prefix = get_option('prefix')
|
||||
instlibdir = get_option('instlibdir')
|
||||
|
||||
if instlibdir == ''
|
||||
instlibdir = join_paths(prefix, 'lib/sway')
|
||||
endif
|
||||
add_project_arguments('-DINSTLIBDIR="/@0@"'.format(instlibdir), language : 'c')
|
||||
|
||||
|
||||
jsonc = dependency('json-c', version: '>=0.13')
|
||||
pcre = dependency('libpcre')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue