Browse code

Makefile.defs: On NetBSD, link with -lm

(cherry picked from commit 3ccaac365da6078a96681109efebc70dcb12fc55)

Greg Troxel authored on 18/03/2020 23:01:52 • Daniel-Constantin Mierla committed on 19/03/2020 18:20:16
Showing 1 changed files
... ...
@@ -2056,7 +2056,7 @@ ifeq ($(OS), netbsd)
2056 2056
 		C_DEFS+=-DHAVE_SELECT
2057 2057
 	endif
2058 2058
 	YACC=yacc
2059
-	LIBS=
2059
+	LIBS=-lm
2060 2060
 endif
2061 2061
 
2062 2062
 # OS X support, same as freebsd