Add synchronization library to run-make flags

This commit is contained in:
Chris Denton 2024-02-25 22:28:30 -03:00
parent 0621fa55f9
commit 35421c7461
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -134,9 +134,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 ntdll.lib
EXTRACFLAGS := ws2_32.lib userenv.lib advapi32.lib bcrypt.lib ntdll.lib synchronization.lib
else
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll
EXTRACFLAGS := -lws2_32 -luserenv -lbcrypt -lntdll -lsynchronization
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