From 076f0c7d294d80a4c43d7c5760cb5d7646f64a9b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 7 Nov 2008 06:58:45 +0000 Subject: [PATCH] (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 18fd1f91784..f79aced67c3 100755 --- a/configure +++ b/configure @@ -5913,9 +5913,11 @@ fi ### The standard library on x86-64 and s390x GNU/Linux distributions can ### be located in either /usr/lib64 or /usr/lib. +### In some rare cases, /usr/lib64 exists but does not contain the +### relevant files (bug#1287). Hence test for crtn.o. case "${canonical}" in x86_64-*-linux-gnu* | s390x-*-linux-gnu* ) - if test -d /usr/lib64; then + if test -e /usr/lib64/crtn.o; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIB64_DIR 1 -- 2.39.2