Explorar el Código

Makefile.defs: add -lm to linker flags

- on some linux distros is not linked by default

(cherry picked from commit f12492c231e1f3a08994727e3e8263886f1f2fbb)
Daniel-Constantin Mierla hace 5 años
padre
commit
bb247563f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Makefile.defs

+ 1 - 1
src/Makefile.defs

@@ -1775,7 +1775,7 @@ ifeq ($(YACC),)
 endif
 endif
 YACC_FLAGS=-d -b core/cfg
 YACC_FLAGS=-d -b core/cfg
 # on solaris add -lxnet (e.g. LIBS= -lxnet)
 # on solaris add -lxnet (e.g. LIBS= -lxnet)
-LIBS= -ldl -lresolv
+LIBS= -ldl -lresolv -lm
 LIB_PREFIX:=lib
 LIB_PREFIX:=lib
 LIB_SUFFIX:=.so
 LIB_SUFFIX:=.so