Module: kamailio Branch: master Commit: f12492c231e1f3a08994727e3e8263886f1f2fbb URL: https://github.com/kamailio/kamailio/commit/f12492c231e1f3a08994727e3e826388...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-01-21T15:02:53+01:00
Makefile.defs: add -lm to linker flags
- on some linux distros is not linked by default
---
Modified: src/Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/f12492c231e1f3a08994727e3e826388... Patch: https://github.com/kamailio/kamailio/commit/f12492c231e1f3a08994727e3e826388...
---
diff --git a/src/Makefile.defs b/src/Makefile.defs index 789b2da967..a89a3a6099 100644 --- a/src/Makefile.defs +++ b/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