| 1 |
project('downloader', 'c') |
| 2 |
|
| 3 |
cc = meson.get_compiler('c') |
| 4 |
|
| 5 |
s = subproject('sqlite').get_variable('sqlite_dep') |
| 6 |
th = dependency('threads') |
| 7 |
|
| 8 |
libdl = cc.find_library('dl', required : false) |
| 9 |
|
| 10 |
e = executable('dtest', 'main.c', |
| 11 |
dependencies : [th, libdl, s]) |
| 12 |
|
| 13 |
test('dltest', e) |