diff options
Diffstat (limited to 'usr.bin/libtool/LT/Archive.pm')
-rw-r--r-- | usr.bin/libtool/LT/Archive.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/libtool/LT/Archive.pm b/usr.bin/libtool/LT/Archive.pm index 4fa088f7164..736a29c4853 100644 --- a/usr.bin/libtool/LT/Archive.pm +++ b/usr.bin/libtool/LT/Archive.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Archive.pm,v 1.6 2014/04/16 10:31:27 zhuk Exp $ +# $OpenBSD: Archive.pm,v 1.7 2014/04/20 17:34:26 zhuk Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -58,8 +58,7 @@ sub get_symbollist tsay {"generating symbol list in file: $filepath"}; tsay {"object list is @$objlist" }; - my $symbols = []; - tie (@$symbols, 'LT::UList'); + my $symbols = LT::UList->new; open(my $sh, '-|', 'nm', '--', @$objlist) or die "Error running nm on object list @$objlist\n"; my $c = 0; |