diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-02-09 04:46:46 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-02-09 04:46:46 +0000 |
commit | 940bf2436d5c31c97d006a58d1f259dc4bc53ec2 (patch) | |
tree | 5166ccf86c5f84086cc19ae246bc698f524ba7f0 /src/config | |
parent | 28676974f19099c3fb977baf5db2f34c24cca1cc (diff) | |
download | krb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.zip krb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.tar.gz krb5-940bf2436d5c31c97d006a58d1f259dc4bc53ec2.tar.bz2 |
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.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/shlib.conf b/src/config/shlib.conf index f176921..dd21126 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 |