mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
config: fix executable format detection on latest FreeBSD.
Submitted by: Bryan Drewery PR: 3075
This commit is contained in:
parent
b74ce8d948
commit
c256e69d3f
2
config
2
config
@ -756,7 +756,7 @@ case "$GUESSOS" in
|
|||||||
libc=/usr/lib/libc.so
|
libc=/usr/lib/libc.so
|
||||||
else # OpenBSD
|
else # OpenBSD
|
||||||
# ld searches for highest libc.so.* and so do we
|
# 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
|
fi
|
||||||
case "`(file -L $libc) 2>/dev/null`" in
|
case "`(file -L $libc) 2>/dev/null`" in
|
||||||
*ELF*) OUT="BSD-x86-elf" ;;
|
*ELF*) OUT="BSD-x86-elf" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user