Link with libm to take advantage of the -h flag to ls.

Submitted by:	Mike Makonnen <mike_makonnen@yahoo.com>
This commit is contained in:
Josef Karthauser 2001-12-29 10:22:13 +00:00
parent ac639e9072
commit 481bfba66b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88669

View File

@ -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