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
This commit is contained in:
parent
bcbb31d44d
commit
9dfa790ffc
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user