Add ld-library-path meson option

This commit is contained in:
Ryan Dwyer 2018-09-02 23:07:47 +10:00
parent 7795f733d8
commit 4ece26e511
2 changed files with 3 additions and 0 deletions

View file

@ -120,6 +120,8 @@ else
endif
add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
add_project_arguments('-D_LD_LIBRARY_PATH="@0@"'.format(get_option('ld-library-path')), language: 'c')
sway_inc = include_directories('include')
subdir('include')