summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-02-09 04:46:46 +0000
committerGreg Hudson <ghudson@mit.edu>2011-02-09 04:46:46 +0000
commit940bf2436d5c31c97d006a58d1f259dc4bc53ec2 (patch)
tree5166ccf86c5f84086cc19ae246bc698f524ba7f0 /src/config
parent28676974f19099c3fb977baf5db2f34c24cca1cc (diff)
downloadkrb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.tar.gz
krb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.tar.xz
krb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.zip
Assume ELF on FreeBSD if objformat doesn't exist
If /usr/bin/objformat doesn't exist on a FreeBSD system, it could indicate a pre-3.0 a.out version or a post-7.0 ELF version. Since FreeBSD 3.0 is now twelve years old, it's safer to assume ELF than a.out. From aberry@likewise.com. ticket: 6858 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24619 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r--src/config/shlib.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf
index f176921f4..dd21126e1 100644
--- a/src/config/shlib.conf
+++ b/src/config/shlib.conf
@@ -309,7 +309,7 @@ mips-*-netbsd*)
if test -x /usr/bin/objformat ; then
objformat=`/usr/bin/objformat`
else
- objformat="aout"
+ objformat="elf"
fi
PICFLAGS=-fpic
if test "x$objformat" = "xelf" ; then