Files
RedBear-OS/local/recipes/dev/meson/source/test cases/linuxlike/4 extdep static lib/meson.build
T

11 lines
260 B
Meson

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)