Browse Source

Makefile.defs: add -lm to linker flags

- on some linux distros is not linked by default
Daniel-Constantin Mierla 5 năm trước cách đây
mục cha
commit
f12492c231
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Makefile.defs

+ 1 - 1
src/Makefile.defs

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