aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/osx/2 library versions/meson.build12
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)