Skip to content

Commit 154f5d7

Browse files
committed
Add ntdll to run-make-fulldeps extraflags
1 parent b44b50a commit 154f5d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make-fulldeps/tools.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ endif
112112
# Extra flags needed to compile a working executable with the standard library
113113
ifdef IS_WINDOWS
114114
ifdef IS_MSVC
115-
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib
115+
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib ntdll.lib
116116
else
117-
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt
117+
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll
118118
EXTRACXXFLAGS := -lstdc++
119119
# So this is a bit hacky: we can't use the DLL version of libstdc++ because
120120
# it pulls in the DLL version of libgcc, which means that we end up with 2

0 commit comments

Comments
 (0)