svn commit: r242684 - head/lib/atf/libatf-c++

Marcel Moolenaar marcel at FreeBSD.org
Wed Nov 7 00:23:52 UTC 2012


Author: marcel
Date: Wed Nov  7 00:23:51 2012
New Revision: 242684
URL: http://svnweb.freebsd.org/changeset/base/242684

Log:
  Remove -L<path> from LDADD, it doesn't belong there.
  Add it to LDFLAGS instead.
  
  Submitted by:   Garrett Cooper <yanegomi at gmail.com>

Modified:
  head/lib/atf/libatf-c++/Makefile

Modified: head/lib/atf/libatf-c++/Makefile
==============================================================================
--- head/lib/atf/libatf-c++/Makefile	Wed Nov  7 00:19:30 2012	(r242683)
+++ head/lib/atf/libatf-c++/Makefile	Wed Nov  7 00:23:51 2012	(r242684)
@@ -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++


More information about the svn-src-all mailing list