diff options
author | 2012-07-06 22:18:11 +0000 | |
---|---|---|
committer | 2012-07-06 22:18:11 +0000 | |
commit | 2417ebc9cf39bb66c05e8e760ef0f9e31f51e91e (patch) | |
tree | a9c5434cd33b2eead24e1596531515fa3e3f0cec | |
parent | fix print/pdflib (diff) | |
download | wireguard-openbsd-2417ebc9cf39bb66c05e8e760ef0f9e31f51e91e.tar.xz wireguard-openbsd-2417ebc9cf39bb66c05e8e760ef0f9e31f51e91e.zip |
restore horrible hack to where it was
-rw-r--r-- | usr.bin/libtool/LT/Library.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/libtool/LT/Library.pm b/usr.bin/libtool/LT/Library.pm index d881782551d..79626480260 100644 --- a/usr.bin/libtool/LT/Library.pm +++ b/usr.bin/libtool/LT/Library.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Library.pm,v 1.4 2012/07/06 11:30:41 espie Exp $ +# $OpenBSD: Library.pm,v 1.5 2012/07/06 22:18:11 espie Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -35,7 +35,7 @@ sub find my @globbedlib; my $pic = ''; # used when finding static libraries - if ($linkmode eq 'LaFile') { + if ($linkmode eq 'LT::LaFile') { $pic = '_pic'; } @@ -118,10 +118,10 @@ sub find } if (!$libfile) { if (defined $self->{fullpath}) { delete $self->{fullpath}; } - if ($linkmode eq 'LaFile') { + if ($linkmode eq 'LT::LaFile') { say "warning: dependency on $libtofind dropped"; $self->{dropped} = 1; - } elsif ($linkmode eq 'Program') { + } elsif ($linkmode eq 'LT::Program') { die "Link error: $libtofind not found!\n"; } } else { |