Remove -L<path> from LDADD, it doesn't belong there.

Add it to LDFLAGS instead.

Submitted by:   Garrett Cooper <yanegomi@gmail.com>
This commit is contained in:
Marcel Moolenaar 2012-11-07 00:23:51 +00:00
parent 4d9f529cd5
commit 3f3708b3dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242684

View File

@ -32,7 +32,9 @@ SHLIB_MAJOR= 1
# libatf-c++ depends on the C version of the ATF library to build.
DPADD= ${LIBATFC}
LDADD= -L${.OBJDIR}/../libatf-c -latf-c
LDADD= -latf-c
LDFLAGS+= -L${.OBJDIR}/../libatf-c
.PATH: ${ATF}
.PATH: ${ATF}/atf-c++