[sr-dev] git:5.3:75976851: Makefile.defs: On NetBSD, link with -lm
Daniel-Constantin Mierla
miconda at gmail.com
Thu Mar 19 19:24:25 CET 2020
Module: kamailio
Branch: 5.3
Commit: 7597685108228d9d179845ab2771f2010c77bd57
URL: https://github.com/kamailio/kamailio/commit/7597685108228d9d179845ab2771f2010c77bd57
Author: Greg Troxel <gdt at lexort.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-03-19T19:20:16+01:00
Makefile.defs: On NetBSD, link with -lm
(cherry picked from commit 3ccaac365da6078a96681109efebc70dcb12fc55)
---
Modified: src/Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/7597685108228d9d179845ab2771f2010c77bd57.diff
Patch: https://github.com/kamailio/kamailio/commit/7597685108228d9d179845ab2771f2010c77bd57.patch
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index a4ecc20248..a57bc2b91e 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