mirror of
https://github.com/open-simh/simh.git
synced 2026-01-27 12:42:45 +00:00
Fixed builds on x64 *nix platforms to properly detect the availability of libm
This commit is contained in:
2
makefile
2
makefile
@@ -28,7 +28,7 @@ ifeq ($(WIN32),)
|
||||
endif
|
||||
endif
|
||||
OS_CCDEFS = -D_GNU_SOURCE
|
||||
ifeq (libm,$(shell if $(TEST) -e /usr/lib/libm.$(LIBEXT); then echo libm; fi))
|
||||
ifeq (libm,$(shell if $(TEST) -e /usr/lib/libm.$(LIBEXT) -o -e /usr/lib64/libm.$(LIBEXT); then echo libm; fi))
|
||||
OS_LDFLAGS += -lm
|
||||
endif
|
||||
ifeq (SunOS,$(shell uname))
|
||||
|
||||
Reference in New Issue
Block a user