diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-26 21:49:54 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-26 21:49:54 +0200 |
commit | ab1f49f4002116b1bf2fa3642a3bd6bd19a89b27 (patch) | |
tree | ecc6c84ab12e9c024d7eba34931e95b8d64e5834 /test cases/osx | |
parent | fdca526c2342a17716f030dc2ff02b38c19ab5cd (diff) | |
download | meson-ab1f49f4002116b1bf2fa3642a3bd6bd19a89b27.zip meson-ab1f49f4002116b1bf2fa3642a3bd6bd19a89b27.tar.gz meson-ab1f49f4002116b1bf2fa3642a3bd6bd19a89b27.tar.bz2 |
Specify build_rpath manually to targets linked by hand.
Diffstat (limited to 'test cases/osx')
-rw-r--r-- | test cases/osx/2 library versions/meson.build | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test cases/osx/2 library versions/meson.build b/test cases/osx/2 library versions/meson.build index 9624998..3061ed6 100644 --- a/test cases/osx/2 library versions/meson.build +++ b/test cases/osx/2 library versions/meson.build @@ -29,15 +29,19 @@ out = custom_target('library-dependency-hack', # Manually test if the linker can find the above libraries # i.e., whether they were generated with the right naming scheme test('manually linked 1', executable('manuallink1', out, - link_args : ['-L.', '-lsome'])) + link_args : ['-L.', '-lsome'], + build_rpath : meson.current_build_dir())) test('manually linked 2', executable('manuallink2', out, - link_args : ['-L.', '-lnoversion'])) + link_args : ['-L.', '-lnoversion'], + build_rpath : meson.current_build_dir())) test('manually linked 3', executable('manuallink3', out, - link_args : ['-L.', '-lonlyversion'])) + link_args : ['-L.', '-lonlyversion'], + build_rpath : meson.current_build_dir())) test('manually linked 4', executable('manuallink4', out, - link_args : ['-L.', '-lonlysoversion'])) + link_args : ['-L.', '-lonlysoversion'], + build_rpath : meson.current_build_dir())) shared_module('module', 'lib.c', install : true) |