summaryrefslogtreecommitdiffstats
path: root/test cases/linuxlike/3 linker script/sub/meson.build
blob: 93199f3927a0db1c91dd3454bbf6a82e251637c2 (plain)
1
2
3
4
5
6
mapfile = 'foo.map'
vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)

l = shared_library('foo', '../bob.c', link_args : vflag, link_depends : mapfile)
e = executable('prog-foo', '../prog.c', link_with : l)
test('core', e)