summaryrefslogtreecommitdiff
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-06-30 23:55:55 +0200
commitc256e69d3f3acd0794ae9c1f353f4093bd4c8878 (patch)
tree900b67bda82a39fb8b4824be80b18ee94f36c642 /config
parentb74ce8d9489b319c0d097ff116b5a0bdb634462d (diff)
downloadopenssl-new-c256e69d3f3acd0794ae9c1f353f4093bd4c8878.tar.gz
config: fix executable format detection on latest FreeBSD.
Submitted by: Bryan Drewery PR: 3075
Diffstat (limited to 'config')
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index fd4b1984a5..a019f20a9f 100755
--- a/config
+++ b/config
@@ -756,7 +756,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" ;;