Skip to content

Commit

Permalink
Add ntdll to run-make-fulldeps extraflags
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Mar 21, 2023
1 parent b44b50a commit 154f5d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run-make-fulldeps/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ endif
# Extra flags needed to compile a working executable with the standard library
ifdef IS_WINDOWS
ifdef IS_MSVC
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib ntdll.lib
else
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll
EXTRACXXFLAGS := -lstdc++
# So this is a bit hacky: we can't use the DLL version of libstdc++ because
# it pulls in the DLL version of libgcc, which means that we end up with 2
Expand Down

0 comments on commit 154f5d7

Please sign in to comment.