Prefer ${LIBSTAND} to -lstand

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-10-09 22:11:57 +00:00
parent 9c82bec42d
commit 6a971c1732
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ CFLAGS+= -fPIC
NO_WERROR.clang=
DPADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSTAND}
LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} -lstand
LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSTAND}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}

View File

@ -91,7 +91,7 @@ LIBEFI= ${.OBJDIR}/../libefi/libefi.a
# as well as required string and memory functions for all platforms.
#
DPADD+= ${LIBEFI} ${LIBSTAND}
LDADD+= ${LIBEFI} -lstand
LDADD+= ${LIBEFI} ${LIBSTAND}
DPADD+= ${LDSCRIPT}

View File

@ -86,7 +86,7 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
CFLAGS+= -I${SRCTOP}/sys
DPADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSTAND}
LDADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} -lstand
LDADD= ${LIBFICL} ${LIBZFSBOOT} ${LIBOFW} ${LIBSTAND}
loader.help: help.common help.sparc64
cat ${.ALLSRC} | \