mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
makefile: Fix MinGW build when using windows-build libpthreadsGC2
This commit is contained in:
4
makefile
4
makefile
@@ -883,11 +883,11 @@ else
|
||||
$(info .)
|
||||
else
|
||||
# Version check on windows-build
|
||||
WINDOWS_BUILD = $(shell findstr WINDOWS-BUILD ..\windows-build\Windows-Build_Versions.txt)
|
||||
WINDOWS_BUILD = $(word 2,$(shell findstr WINDOWS-BUILD ..\windows-build\Windows-Build_Versions.txt))
|
||||
ifeq (,$(WINDOWS_BUILD))
|
||||
WINDOWS_BUILD = 00000000
|
||||
endif
|
||||
ifneq (,$(shell if 20150412 GTR $(WINDOWS_BUILD) echo old-windows-build))
|
||||
ifneq (,$(or $(shell if 20150412 GTR $(WINDOWS_BUILD) echo old-windows-build),$(and $(shell if 20171112 GTR $(WINDOWS_BUILD) echo old-windows-build),$(findstring pthreadGC2,$(PTHREADS_LDFLAGS)))))
|
||||
$(info .)
|
||||
$(info windows-build components at: $(abspath ..\windows-build))
|
||||
$(info .)
|
||||
|
||||
Reference in New Issue
Block a user