mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
configure.in:
static nss linkingg issue
This commit is contained in:
parent
365dcfbbce
commit
140397d424
2 changed files with 5 additions and 4 deletions
|
@ -29,3 +29,4 @@ sinisa@rhols221.adsl.netsonic.fi
|
|||
zak@balfor.local
|
||||
bar@bar.mysql.r18.ru
|
||||
paul@teton.kitebird.com
|
||||
serg@build.mysql2.com
|
||||
|
|
|
@ -479,8 +479,8 @@ AC_ARG_WITH(other-libc,
|
|||
then
|
||||
# libc has been compiled with --enable-static-nss
|
||||
# we need special flags, but we will have to add those later
|
||||
STATIC_NSS_FLAGS="-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv \
|
||||
-Wl,--end-group"
|
||||
STATIC_NSS_FLAGS="-lc -lnss_files -lnss_dns -lresolv"
|
||||
STATIC_NSS_FLAGS="$STATIC_NSS_FLAGS $STATIC_NSS_FLAGS"
|
||||
OTHER_LIBC_LIB="-L$other_libc_lib"
|
||||
static_nss=1
|
||||
else
|
||||
|
@ -520,8 +520,8 @@ then
|
|||
tmp=`nm /usr/lib/libc.a | grep _nss_files_getaliasent_r`
|
||||
if test -n "$tmp"
|
||||
then
|
||||
STATIC_NSS_FLAGS="-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv \
|
||||
-Wl,--end-group"
|
||||
STATIC_NSS_FLAGS="-lc -lnss_files -lnss_dns -lresolv"
|
||||
STATIC_NSS_FLAGS="$STATIC_NSS_FLAGS $STATIC_NSS_FLAGS"
|
||||
static_nss=1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue