Replace LDFLAGS by LDADD to fix sort build with -DNO_SHARED

Differential Revision:	https://reviews.freebsd.org/D2044
Reviewed by:	sbruno@
Approved by:	sbruno@
Sponsored by:	Netgate
This commit is contained in:
Renato Botelho 2015-04-21 15:47:00 +00:00
parent ce73d0723f
commit 5120b8ee0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=281834

View File

@ -13,10 +13,10 @@ CLEANFILES+= sort.1
.if defined(WITH_THREADS)
CFLAGS+= -DSORT_THREADS
LDFLAGS+= -lpthread -lmd
LDADD+= -lpthread -lmd
MAN_SUB+= -e 's|%%THREADS%%||g'
.else
LDFLAGS+= -lmd
LDADD+= -lmd
MAN_SUB+= -e 's|%%THREADS%%|\.\\"|g'
.endif