summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-09-22 18:43:33 +0200
committerunknown <lenz@mysql.com>2002-09-22 18:43:33 +0200
commit3e77f4c6674a02d8202a0a66b3ef7a78620d3347 (patch)
tree1887a286310d7d1bbd1add1ce2f2a3690ded6134 /configure.in
parent0e88d440d689cb8805bab3a7bcca274e0aa5c975 (diff)
downloadmariadb-git-3e77f4c6674a02d8202a0a66b3ef7a78620d3347.tar.gz
- Bugfix for static glibc linking in configure.in (taken from 4.0)
configure.in: - Fixed bug in previous patch for linking against libc (taken from 4.0)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 145d108fa5a..0d454673ab4 100644
--- a/configure.in
+++ b/configure.in
@@ -454,6 +454,8 @@ fi
NOINST_LDFLAGS=
static_nss=""
+STATIC_NSS_FLAGS=""
+OTHER_LIBC_LIB=""
AC_ARG_WITH(other-libc,
[ --with-other-libc=DIR Link against libc and other standard libraries
installed in the specified non-standard location
@@ -479,6 +481,7 @@ AC_ARG_WITH(other-libc,
# 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"
+ OTHER_LIBC_LIB="-L$other_libc_lib"
static_nss=1
else
# this is a dirty hack. We if we detect static nss glibc in the special