summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusr.bin/libtool/libtool7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/libtool/libtool b/usr.bin/libtool/libtool
index 881422c630f..da30c77256b 100755
--- a/usr.bin/libtool/libtool
+++ b/usr.bin/libtool/libtool
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $OpenBSD: libtool,v 1.37 2012/07/11 08:33:45 espie Exp $
+# $OpenBSD: libtool,v 1.38 2012/10/27 10:11:23 espie Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -64,6 +64,11 @@ sub new
$self->{build_libtool_libs} = 'no';
$self->{noshared} = 0;
}
+ if (grep { $_ eq $self->{machine_arch} } qw(m68k m88k vax)) {
+ $self->{elf} = 0;
+ } else {
+ $self->{elf} = 1;
+ }
return $self;
}