summaryrefslogtreecommitdiff
path: root/usr.bin/libtool
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-07-01 17:22:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-07-01 17:22:29 +0000
commitc5afe24acb8c980adb3c35eff9d5e9906e3a3b93 (patch)
tree440b641a1630b2c5ed2351b24925266d9d5ff4b8 /usr.bin/libtool
parent87a33275d043884ff5a7153fc139c29f6729e2fe (diff)
fix again -j4 properly
Diffstat (limited to 'usr.bin/libtool')
-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;