meson: remove rpath options

This commit is contained in:
emersion 2019-01-18 08:26:44 +01:00
parent ab35e0383f
commit bb2f007ad3
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
7 changed files with 6 additions and 24 deletions

View file

@ -126,17 +126,6 @@ else
endif
add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
if get_option('use_rpath')
if get_option('custom_rpath') == ''
# default to platform specific libdir, one level up from the binary
rpathdir = join_paths('$ORIGIN', '..', '$LIB')
else
rpathdir = get_option('custom_rpath')
endif
else
rpathdir = ''
endif
sway_inc = include_directories('include')
subdir('include')