Module: kamailio Branch: 5.2 Commit: bb247563f2d5efbf95c52e682c72215a8b1fbb0a URL: https://github.com/kamailio/kamailio/commit/bb247563f2d5efbf95c52e682c72215a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Henning Westerholt hw@skalatan.de Date: 2020-01-22T23:04:00+01:00
Makefile.defs: add -lm to linker flags
- on some linux distros is not linked by default
(cherry picked from commit f12492c231e1f3a08994727e3e8263886f1f2fbb)
---
Modified: src/Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/bb247563f2d5efbf95c52e682c72215a... Patch: https://github.com/kamailio/kamailio/commit/bb247563f2d5efbf95c52e682c72215a...
---
diff --git a/src/Makefile.defs b/src/Makefile.defs index a3a07a89df..90d1750764 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -1775,7 +1775,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