The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
277 B

project('runpath rpath ldlibrarypath', 'c')
libsrc = files('lib.c')
subdir('lib1')
subdir('lib2')
lib2dir = meson.current_build_dir() + '/lib2'
e = executable('testexe', 'main.c',
link_with : lib1)
test('ld-library-path-test', e,
env : ['LD_LIBRARY_PATH=' + lib2dir])