pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper Keep libraries specified as .a files in the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae1ed7101527
branches:  trunk
changeset: 541332:ae1ed7101527
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Apr 20 12:24:21 2008 +0000

description:
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:

 mk/wrapper/buildcmd |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 72d977a4e358 -r ae1ed7101527 mk/wrapper/buildcmd
--- a/mk/wrapper/buildcmd       Sun Apr 20 12:22:58 2008 +0000
+++ b/mk/wrapper/buildcmd       Sun Apr 20 12:24:21 2008 +0000
@@ -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 @@
        cmd="$cmd $arg"
        libs="$libs $arg"
        ;;
--l*)
+-l*|*.a)
        case $libs in
        *" "$arg)
                ;;



Home | Main Index | Thread Index | Old Index