summaryrefslogtreecommitdiffstats
path: root/test cases/linuxlike/11 runpath rpath ldlibrarypath/meson.build
blob: a3103acfa75c3cdaec666eb40f0fbefd5eef764f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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])