summaryrefslogtreecommitdiffstats
path: root/lib/atf
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2012-11-07 00:23:51 +0000
committermarcel <marcel@FreeBSD.org>2012-11-07 00:23:51 +0000
commitde6ea8b20e870490db809a8d8a965bd784981d81 (patch)
treedd2af575399da80b33b962e0264e1ca66ba7bc29 /lib/atf
parent16d8c8419d49d31c013ab6c79dd235675cf4fedc (diff)
downloadFreeBSD-src-de6ea8b20e870490db809a8d8a965bd784981d81.zip
FreeBSD-src-de6ea8b20e870490db809a8d8a965bd784981d81.tar.gz
Remove -L<path> from LDADD, it doesn't belong there.
Add it to LDFLAGS instead. Submitted by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'lib/atf')
-rw-r--r--lib/atf/libatf-c++/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
index 71369e2..37d6073 100644
--- a/lib/atf/libatf-c++/Makefile
+++ b/lib/atf/libatf-c++/Makefile
@@ -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++
OpenPOWER on IntegriCloud