diff options
Diffstat (limited to 'meson/test cases/linuxlike/4 extdep static lib/meson.build')
-rw-r--r-- | meson/test cases/linuxlike/4 extdep static lib/meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/linuxlike/4 extdep static lib/meson.build b/meson/test cases/linuxlike/4 extdep static lib/meson.build new file mode 100644 index 000000000..1a73e494e --- /dev/null +++ b/meson/test cases/linuxlike/4 extdep static lib/meson.build @@ -0,0 +1,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) |