add pthread to windows link

This commit is contained in:
John Alanbrook 2024-03-09 18:05:45 -06:00
parent c860ca5a8c
commit 73f41ce74d

View file

@ -121,7 +121,7 @@ endif
ifeq ($(OS), Windows_NT)
LDFLAGS += -mwin32 -static
CPPFLAGS += -mwin32
LDLIBS += mingw32 kernel32 d3d11 user32 shell32 dxgi gdi32 ws2_32 ole32 winmm setupapi m
LDLIBS += mingw32 kernel32 d3d11 user32 shell32 dxgi gdi32 ws2_32 ole32 winmm setupapi m pthread
EXT = .exe
ARCH := x86_64
PKGCMD = cd $(BIN); zip -q -r $(MAKEDIR)/$(DISTDIR)/$(DIST) . -x \*.a ./obj/\*