mirror of
https://github.com/open-simh/simh.git
synced 2026-05-04 07:08:55 +00:00
Added makefile build support for detecting libpthreads on x64 *nix platforms.
This commit is contained in:
2
makefile
2
makefile
@@ -37,7 +37,7 @@ ifeq ($(WIN32),)
|
|||||||
ifeq (librt,$(shell if $(TEST) -e /usr/lib/librt.$(LIBEXT); then echo librt; fi))
|
ifeq (librt,$(shell if $(TEST) -e /usr/lib/librt.$(LIBEXT); then echo librt; fi))
|
||||||
OS_LDFLAGS += -lrt
|
OS_LDFLAGS += -lrt
|
||||||
endif
|
endif
|
||||||
ifeq (libpthread,$(shell if $(TEST) -e /usr/lib/libpthread.$(LIBEXT); then echo libpthread; fi))
|
ifeq (libpthread,$(shell if $(TEST) -e /usr/lib/libpthread.$(LIBEXT) -o -e /usr/lib64/libpthread.$(LIBEXT); then echo libpthread; fi))
|
||||||
OS_CCDEFS += -DSIM_ASYNCH_IO -DUSE_READER_THREAD
|
OS_CCDEFS += -DSIM_ASYNCH_IO -DUSE_READER_THREAD
|
||||||
OS_LDFLAGS += -lpthread
|
OS_LDFLAGS += -lpthread
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user