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.

17 lines
335 B

project('runpath rpath ldlibrarypath', 'c')
error('MESON_SKIP_TEST test disabled due to bug #1635.')
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])