Skip to content

Commit 35421c7

Browse files
committed
Add synchronization library to run-make flags
1 parent 0621fa5 commit 35421c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-make/tools.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ endif
134134
# Extra flags needed to compile a working executable with the standard library
135135
ifdef IS_WINDOWS
136136
ifdef IS_MSVC
137-
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib ntdll.lib
137+
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib ntdll.lib synchronization.lib
138138
else
139-
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll
139+
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll -lsynchronization
140140
EXTRACXXFLAGS := -lstdc++
141141
# So this is a bit hacky: we can't use the DLL version of libstdc++ because
142142
# it pulls in the DLL version of libgcc, which means that we end up with 2

0 commit comments

Comments
 (0)