summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-06-30 23:55:55 +0200
committerAndy Polyakov <appro@openssl.org>2013-07-01 00:00:20 +0200
commit591c55a98144ef9c998a7f73038998bc051936f3 (patch)
tree489062e3f3ddd2411dd0194d898f7be120b29692 /config
parentcd2693862b659099930bec2aa7344892690a6e48 (diff)
config: fix executable format detection on latest FreeBSD.
Submitted by: Bryan Drewery PR: 3075 (cherry picked from commit c256e69d3f3acd0794ae9c1f353f4093bd4c8878)
Diffstat (limited to 'config')
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 88b9bc69da..41fa2a6b82 100755
--- a/config
+++ b/config
@@ -739,7 +739,7 @@ case "$GUESSOS" in
libc=/usr/lib/libc.so
else # OpenBSD
# ld searches for highest libc.so.* and so do we
- libc=`(ls /usr/lib/libc.so.* | tail -1) 2>/dev/null`
+ libc=`(ls /usr/lib/libc.so.* /lib/libc.so.* | tail -1) 2>/dev/null`
fi
case "`(file -L $libc) 2>/dev/null`" in
*ELF*) OUT="BSD-x86-elf" ;;