[sr-dev] git:master: lib/srutils: link against -lm for math functions in json

Daniel-Constantin Mierla miconda at gmail.com
Fri Feb 24 10:36:36 CET 2012


Module: sip-router
Branch: master
Commit: 16c9ca3e89e672f9a0339e60ddee7a6ab6d7fdf8
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16c9ca3e89e672f9a0339e60ddee7a6ab6d7fdf8

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Feb 24 10:35:10 2012 +0100

lib/srutils: link against -lm for math functions in json

- some distros requires explicit linking, although is part of libc

---

 lib/srutils/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/srutils/Makefile b/lib/srutils/Makefile
index f2b4c4f..db6cb97 100644
--- a/lib/srutils/Makefile
+++ b/lib/srutils/Makefile
@@ -4,6 +4,6 @@ NAME:=srutils
 MAJOR_VER=1
 MINOR_VER=0
 BUGFIX_VER=0
-LIBS=
+LIBS= -lm
 
 include ../../Makefile.libs




More information about the sr-dev mailing list