summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-12-29 10:22:13 +0000
committerjoe <joe@FreeBSD.org>2001-12-29 10:22:13 +0000
commit6b4b04d21041bfd6464362db6f444378cd0df105 (patch)
tree4ff66d2603be7c7e6b560a2984d133ed43f6c6c7
parent42e2c5321aca94ad7f6638f6e65ba49283fbb253 (diff)
downloadFreeBSD-src-6b4b04d21041bfd6464362db6f444378cd0df105.zip
FreeBSD-src-6b4b04d21041bfd6464362db6f444378cd0df105.tar.gz
Link with libm to take advantage of the -h flag to ls.
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
-rw-r--r--libexec/ftpd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index dae940a..ff0df76 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
OpenPOWER on IntegriCloud