Thanks, reverted.
-----Original Message-----
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
Sent: Thursday, January 23, 2020 8:43 AM
To: Kamailio (SER) - Development Mailing List <sr-dev(a)lists.kamailio.org>rg>; Henning
Westerholt <hw(a)skalatan.de>
Subject: Re: [sr-dev] git:5.2:bb247563: Makefile.defs: add -lm to linker flags
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/bb247563f2d5efbf95c52e682c
72215a8b1fbb0a
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Henning Westerholt <hw(a)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/bb247563f2d5efbf95c52e682c
72215a8b1fbb0a.diff
Patch:
https://github.com/kamailio/kamailio/commit/bb247563f2d5efbf95c52e682c
72215a8b1fbb0a.patch
---
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(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla --
www.asipto.com www.twitter.com/miconda --
www.linkedin.com/in/miconda Kamailio Advanced Training - March 9-11, 2020, Berlin -
www.asipto.com Kamailio World Conference - April 27-29, 2020, in Berlin --
www.kamailioworld.com