[sr-dev] git:master:3ccaac36: Makefile.defs: On NetBSD, link with -lm

Greg Troxel gdt at lexort.com
Thu Mar 19 07:21:33 CET 2020


Module: kamailio
Branch: master
Commit: 3ccaac365da6078a96681109efebc70dcb12fc55
URL: https://github.com/kamailio/kamailio/commit/3ccaac365da6078a96681109efebc70dcb12fc55

Author: Greg Troxel <gdt at lexort.com>
Committer: Greg Troxel <gdt at lexort.com>
Date: 2020-03-18T19:01:52-04:00

Makefile.defs: On NetBSD, link with -lm

---

Modified: src/Makefile.defs

---

Diff:  https://github.com/kamailio/kamailio/commit/3ccaac365da6078a96681109efebc70dcb12fc55.diff
Patch: https://github.com/kamailio/kamailio/commit/3ccaac365da6078a96681109efebc70dcb12fc55.patch

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index a89a3a6099..3d28f3ef38 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -2056,7 +2056,7 @@ ifeq ($(OS), netbsd)
 		C_DEFS+=-DHAVE_SELECT
 	endif
 	YACC=yacc
-	LIBS=
+	LIBS=-lm
 endif
 
 # OS X support, same as freebsd




More information about the sr-dev mailing list