aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-09-02 23:07:47 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-09-02 23:07:47 +1000
commitf18d2233319d696d51393c52117e35bc353a26fe (patch)
treec01cfd68037fcd30ea2573cf03e0b09f8050c331 /meson.build
parent106ecaf3fa55545a6f81d94d05631d0902eacd5d (diff)
Add ld-library-path meson option
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 56f1141e..eb5cba84 100644
--- a/meson.build
+++ b/meson.build
@@ -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')