From 591c55a98144ef9c998a7f73038998bc051936f3 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 30 Jun 2013 23:55:55 +0200 Subject: [PATCH] config: fix executable format detection on latest FreeBSD. Submitted by: Bryan Drewery PR: 3075 (cherry picked from commit c256e69d3f3acd0794ae9c1f353f4093bd4c8878) --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ;; -- 2.25.1