diff options
author | 2012-07-11 14:12:44 +0000 | |
---|---|---|
committer | 2012-07-11 14:12:44 +0000 | |
commit | 2845bc99bc66eef88965305879849c5c5d8d7825 (patch) | |
tree | b1f225aa0a89f8fdc25ae73e20fd3c8d46175bdd | |
parent | try to make code vaguely sane (diff) | |
download | wireguard-openbsd-2845bc99bc66eef88965305879849c5c5d8d7825.tar.xz wireguard-openbsd-2845bc99bc66eef88965305879849c5c5d8d7825.zip |
must check release is defined, it CAN be 0.
-rw-r--r-- | usr.bin/libtool/LT/Mode/Link.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/libtool/LT/Mode/Link.pm b/usr.bin/libtool/LT/Mode/Link.pm index c4f90c251bb..34bcff7368d 100644 --- a/usr.bin/libtool/LT/Mode/Link.pm +++ b/usr.bin/libtool/LT/Mode/Link.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Link.pm,v 1.10 2012/07/11 13:54:48 espie Exp $ +# $OpenBSD: Link.pm,v 1.11 2012/07/11 14:12:44 espie Exp $ # # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -283,7 +283,7 @@ sub run ($current, $revision) = split /\./, $sover; $age = 0; } - if ($gp->release) { + if (defined $gp->release) { $sharedlib_symlink = $sharedlib; $sharedlib = $libname.'-'.$gp->release.'.so'; } |