summaryrefslogtreecommitdiffstats
path: root/lib/atf
diff options
context:
space:
mode:
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