mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 23:56:22 +00:00
makefile: assure that macOS 11 (XCode 12) can use libpthread
If the Xcode environment provides an particular include file, its related library file will be available at link and presumably run time
This commit is contained in:
parent
b471f16a0a
commit
86889c662c
6
makefile
6
makefile
@ -495,6 +495,12 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||
ifneq (,$(findstring Haiku,$(OSTYPE)))
|
||||
OS_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
|
||||
$(info using libpthread: $(call find_include,pthread))
|
||||
else
|
||||
ifeq (Darwin,$(OSTYPE))
|
||||
OS_CCDEFS += -DUSE_READER_THREAD -DSIM_ASYNCH_IO
|
||||
OS_LDFLAGS += -lpthread
|
||||
$(info using macOS libpthread: $(call find_include,pthread))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
LIBEXT = $(LIBEXTSAVE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user