aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/linuxlike/4 extdep static lib/meson.build
blob: 1a73e494e321027687175dd53e7ec1c173f69e07 (plain)
1
2
3
4
5
6
7
8
9
10
project('external dependency with static', 'c')

# Zlib is probably on all dev machines.

dep = dependency('zlib')
statlib = static_library('statlib', 'lib.c', dependencies : dep)
exe = executable('prog', 'prog.c', link_with : statlib)


test('zlibtest', exe)