Commit e5ee3122 authored by lenz@mysql.com's avatar lenz@mysql.com

- Bugfix for static glibc linking in configure.in (taken from 4.0)

parent c4302b0b
...@@ -454,6 +454,8 @@ fi ...@@ -454,6 +454,8 @@ fi
NOINST_LDFLAGS= NOINST_LDFLAGS=
static_nss="" static_nss=""
STATIC_NSS_FLAGS=""
OTHER_LIBC_LIB=""
AC_ARG_WITH(other-libc, AC_ARG_WITH(other-libc,
[ --with-other-libc=DIR Link against libc and other standard libraries [ --with-other-libc=DIR Link against libc and other standard libraries
installed in the specified non-standard location installed in the specified non-standard location
...@@ -479,6 +481,7 @@ AC_ARG_WITH(other-libc, ...@@ -479,6 +481,7 @@ AC_ARG_WITH(other-libc,
# we need special flags, but we will have to add those later # we need special flags, but we will have to add those later
STATIC_NSS_FLAGS="-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv \ STATIC_NSS_FLAGS="-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv \
-Wl,--end-group" -Wl,--end-group"
OTHER_LIBC_LIB="-L$other_libc_lib"
static_nss=1 static_nss=1
else else
# this is a dirty hack. We if we detect static nss glibc in the special # this is a dirty hack. We if we detect static nss glibc in the special
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment