From d75a7cf5a2e683a69a9593d7e04741534b59409e Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 11 May 2018 16:19:46 -0400 Subject: Link with -lm Come on, FreeBSD. --- bin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index b6d13697..685ea6f0 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -5,7 +5,7 @@ ALL_BINS = $(ANY_BINS) $(BSD_BINS) $(LIN_BINS) GFX ?= none CFLAGS += -Wall -Wextra -Wpedantic -LDLIBS = -ledit -lncurses -lutil -lz +LDLIBS = -ledit -lm -lncurses -lutil -lz LDLIBS_cocoa = -framework Cocoa LDLIBS_x11 = -lX11 -- cgit 1.4.1