From 481bfba66bf25172cd7596fbce5aa7f540762592 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Sat, 29 Dec 2001 10:22:13 +0000 Subject: [PATCH] Link with libm to take advantage of the -h flag to ls. Submitted by: Mike Makonnen --- libexec/ftpd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index dae940afd03..ff0df76cad0 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -21,6 +21,7 @@ LSDIR= ../../bin/ls .PATH: ${.CURDIR}/${LSDIR} SRCS+= ls.c cmp.c print.c util.c lomac.c CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} +LDADD+= -lm .if !defined(NOPAM) CFLAGS+=-DUSE_PAM