This one doesn't have to be backported. It was needed after relocation of lib/sruid -- libm is part of libc, so it doesn't add any package dependency, just is not needed for linking in stable branches now.
Cheers, Daniel
On 22.01.20 23:12, Henning Westerholt wrote:
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
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev