Skip to content

Commit

Permalink
build: Update dependencies for tests
Browse files Browse the repository at this point in the history
(cherry picked from commit 32ffbaa)
Signed-off-by: LIU Hao <lh_mouse@126.com>
  • Loading branch information
lhmouse committed Nov 5, 2024
1 parent 9809e51 commit 06fc66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,12 @@ foreach src: test_src
endif

if basename in [ 'win8.c', 'win10.c', 'self_oom.c', 'mix.c', 'tls_dtor_static.c' ]
test_dependencies = [ dep_advapi32, dep_ntdll ]
test_link_with = lib_mcfgthread_a
endif

if basename in [ 'memory.c' ]
test_dependencies = [ dep_advapi32, dep_ntdll ]
test_dependencies = [ dep_ntdll ]
test_link_with = lib_mcfgthread_minimal_dll
endif

Expand Down

0 comments on commit 06fc66f

Please sign in to comment.