diff options
-rw-r--r-- | usr.bin/libtool/LT/LaFile.pm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/libtool/LT/LaFile.pm b/usr.bin/libtool/LT/LaFile.pm index bd29cc34493..6c930f24706 100644 --- a/usr.bin/libtool/LT/LaFile.pm +++ b/usr.bin/libtool/LT/LaFile.pm @@ -1,4 +1,4 @@ -# $OpenBSD: LaFile.pm,v 1.23 2014/09/05 10:36:39 espie Exp $ +# $OpenBSD: LaFile.pm,v 1.24 2019/09/28 06:25:57 semarie Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -188,4 +188,16 @@ sub install } } +sub parse +{ + my ($class, $filename) = @_; + + my $info = $class->SUPER::parse($filename); + + $info->{deplib_list} //= LT::UList->new; + $info->{libdir} //= ''; + + return $info; +} + 1; |