summaryrefslogtreecommitdiff
path: root/libmysql/Makefile.shared
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql/Makefile.shared')
-rw-r--r--libmysql/Makefile.shared5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmysql/Makefile.shared b/libmysql/Makefile.shared
index 795a64ba138..c6f2032fd44 100644
--- a/libmysql/Makefile.shared
+++ b/libmysql/Makefile.shared
@@ -83,6 +83,9 @@ ctype_extra_sources.c: conf_to_src
$(srcdir)/ctype_extra_sources.c
conf_to_src_SOURCES = conf_to_src.c
conf_to_src_LDADD=
-
+#for --with-other-libc to ensure static linking
+#note -all-static rather than -static
+#this is needed for libtool to work right
+conf_to_src_LDFLAGS=-all-static
# Don't update the files from bitkeeper
%::SCCS/s.%