Fixed builds on x64 *nix platforms to properly detect the availability of libm
This commit is contained in:
parent
329d84ea0c
commit
51525f7a3f
1 changed files with 1 additions and 1 deletions
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue