From 95c48241045ca1c41defb16ee8bb126c6688d018 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 15 Oct 2007 19:59:14 +0200 Subject: Allow for different directories containing the "libc", as it may well happen with 32- vs 64-bit Linux systems. This patch was proposed immediately with the report of Bug #29658 wrong test for static nss checking on linux, doesn't cover all platforms --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index d27c77d49b1..92900d0630d 100644 --- a/configure.in +++ b/configure.in @@ -631,7 +631,7 @@ AC_SUBST(NOINST_LDFLAGS) if test "$TARGET_LINUX" = "true" -a "$static_nss" = "" then - tmp=`nm /usr/lib/libc.a | grep _nss_files_getaliasent_r` + tmp=`nm /usr/lib*/libc.a | grep _nss_files_getaliasent_r` if test -n "$tmp" then STATIC_NSS_FLAGS="-lc -lnss_files -lnss_dns -lresolv" -- cgit v1.2.1