From: Andy Polyakov Date: Sun, 30 Jun 2013 21:55:55 +0000 (+0200) Subject: config: fix executable format detection on latest FreeBSD. X-Git-Tag: OpenSSL_1_0_0l~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=713f110f53e177061483954148b0802a52f38f99;p=oweals%2Fopenssl.git config: fix executable format detection on latest FreeBSD. Submitted by: Bryan Drewery PR: 3075 (cherry picked from commit c256e69d3f3acd0794ae9c1f353f4093bd4c8878) --- 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" ;;