summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2012-07-01 17:22:28 +0000
committerespie <espie@openbsd.org>2012-07-01 17:22:28 +0000
commitf6f4813c0932dbc349dcf398b29f44ef06dbdc7f (patch)
treedf0c6abacb70817b9f3d55dd0636f87f884fa900
parentIncrease default and maximum text, data and stack size limits; this is required (diff)
downloadwireguard-openbsd-f6f4813c0932dbc349dcf398b29f44ef06dbdc7f.tar.xz
wireguard-openbsd-f6f4813c0932dbc349dcf398b29f44ef06dbdc7f.zip
fix again -j4 properly
-rwxr-xr-xusr.bin/libtool/libtool9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/libtool/libtool b/usr.bin/libtool/libtool
index 529d0a394ed..e32d287909e 100755
--- a/usr.bin/libtool/libtool
+++ b/usr.bin/libtool/libtool
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $OpenBSD: libtool,v 1.7 2012/06/28 18:24:42 espie Exp $
+# $OpenBSD: libtool,v 1.8 2012/07/01 17:22:28 espie Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
#
@@ -228,9 +228,10 @@ sub create_symlinks
LT::Trace::debug {"ln -s $f $link\n"};
next if -f $link;
my $p = abs_path($f);
- symlink($p, $link) or
- die "Cannot create symlink($p, $link): $!\n"
- unless $!{EEXIST};
+ if (!symlink($p, $link)) {
+ die "Cannot create symlink($p, $link): $!\n"
+ unless $!{EEXIST}
+ }
}
}
return $dir;