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:01:26 +0200
commit713f110f53e177061483954148b0802a52f38f99 (patch)
tree6a450277fde3a879c461457d7d68900a5a163fba /config
parent4d114267167e76c5e323ee9cb405e54a668bddc5 (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 2cb4613a40..30e9a373d6 100755
--- a/config
+++ b/config
@@ -706,7 +706,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" ;;