Meson: Fix link of fuzzer tests
libicu is an internal dependency of libpsl, so if an executable uses libicu directly, linking on libpsl is not enough, it must also link on libicu. Closes: #115
This commit is contained in:
parent
77971566d3
commit
13bf8e102e
|
@ -8,6 +8,8 @@ foreach test_name : ['fuzzer', 'load_fuzzer', 'load_dafsa_fuzzer']
|
|||
exe = executable(test_name, source_file, 'main.c',
|
||||
link_with : libpsl,
|
||||
c_args : fuzzer_cargs,
|
||||
include_directories : [configinc, includedir])
|
||||
include_directories : [configinc, includedir],
|
||||
dependencies : libicu_dep,
|
||||
)
|
||||
test(test_name, exe)
|
||||
endforeach
|
||||
|
|
|
@ -101,4 +101,4 @@ subdir('include')
|
|||
subdir('src')
|
||||
subdir('tools')
|
||||
subdir('tests')
|
||||
#subdir('fuzz')
|
||||
subdir('fuzz')
|
||||
|
|
Loading…
Reference in New Issue