diff options
author | kim <kim> | 2008-04-20 12:24:21 +0000 |
---|---|---|
committer | kim <kim> | 2008-04-20 12:24:21 +0000 |
commit | 04be99d4c01cd262b7b28680486b26b2092c9662 (patch) | |
tree | 07a6182df3d562ae4e20efd61989fb4a7fd95a4e /mk | |
parent | 777d3657a2a1e852d0b666874cc5516232ad839b (diff) | |
download | pkgsrc-04be99d4c01cd262b7b28680486b26b2092c9662.tar.gz |
Keep libraries specified as .a files in their original position among
other libraries (specified with -l).
Fixes a linking problem in net-snmp, where the Perl DynaLoader.a library
becomes out-of-order when all -l arguments have been moved to the end of
the command line.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/buildcmd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/buildcmd b/mk/wrapper/buildcmd index 1113513c7b7..d4dd7a33d86 100644 --- a/mk/wrapper/buildcmd +++ b/mk/wrapper/buildcmd @@ -1,4 +1,4 @@ -# $NetBSD: buildcmd,v 1.2 2007/11/08 17:38:17 he Exp $ +# $NetBSD: buildcmd,v 1.3 2008/04/20 12:24:21 kim Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -65,7 +65,7 @@ case $arg in cmd="$cmd $arg" libs="$libs $arg" ;; --l*) +-l*|*.a) case $libs in *" "$arg) ;; |