Subject: CVS commit: pkgsrc/mk/buildlink2
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/28/2002 20:49:58
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Dec 28 18:49:58 UTC 2002

Modified Files:
	pkgsrc/mk/buildlink2: libtool-logic

Log Message:
Break out of loop as soon after the first time we find a libfoo.la libtool
archive that matches "-lfoo".  This prevents breakage when someone does:

	-L../src -L../src/.libs -lfoo

because libtool puts a .la file into both ../src and ../src/.libs.  This
fixes PR 19583 by Julio Merino <jmmv@netbsd.org>.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/buildlink2/libtool-logic

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.