diff options
author | kim <kim@pkgsrc.org> | 2008-04-20 12:24:21 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2008-04-20 12:24:21 +0000 |
commit | d105f33986aebeb767ae6be7e5398ffb5d681eab (patch) | |
tree | 07a6182df3d562ae4e20efd61989fb4a7fd95a4e /mk | |
parent | 8bfb4c61bc02552bdd53ba3fea6d6b119a981ff8 (diff) | |
download | pkgsrc-d105f33986aebeb767ae6be7e5398ffb5d681eab.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) ;; |