From d3555002b7f9ce982375874e680e7feab68804e3 Mon Sep 17 00:00:00 2001
From: "sasha@mysql.sashanet.com" <>
Date: Sat, 30 Mar 2002 16:24:30 -0700
Subject: [PATCH] fix to make the compile work with --with-other-libc

---
 libmysqld/examples/Makefile.am | 2 +-
 vio/Makefile.am                | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libmysqld/examples/Makefile.am b/libmysqld/examples/Makefile.am
index d9f9f05ae9..ecfcbccd32 100644
--- a/libmysqld/examples/Makefile.am
+++ b/libmysqld/examples/Makefile.am
@@ -11,7 +11,7 @@ DEFS = 		-DEMBEDDED_LIBRARY
 INCLUDES =	-I$(top_srcdir)/include $(openssl_includes) \
 		-I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/client
 LIBS =		@LIBS@
-LDADD =		../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
+LDADD =		@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@ $(CXXLDFLAGS)
 
 mysqltest_SOURCES =	mysqltest.c
 
diff --git a/vio/Makefile.am b/vio/Makefile.am
index 7119c27886..b512ec3377 100644
--- a/vio/Makefile.am
+++ b/vio/Makefile.am
@@ -15,18 +15,18 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 INCLUDES =		-I$(srcdir)/../include -I../include $(openssl_includes)
-LDADD =			libvio.a $(openssl_libs) 
+LDADD =			@CLIENT_EXTRA_LDFLAGS@ libvio.a $(openssl_libs) 
 pkglib_LIBRARIES =	libvio.a
 noinst_PROGRAMS	=	test-ssl test-sslserver test-sslclient
 noinst_HEADERS =	
 test_ssl_SOURCES =   test-ssl.c
-test_ssl_LDADD =   	../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
+test_ssl_LDADD =   	@CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
 			../strings/libmystrings.a libvio.a $(openssl_libs)
 test_sslserver_SOURCES =   test-sslserver.c
-test_sslserver_LDADD =   	../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
+test_sslserver_LDADD =   @CLIENT_EXTRA_LDFLAGS@	../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
 			../strings/libmystrings.a libvio.a $(openssl_libs)
 test_sslclient_SOURCES =   test-sslclient.c
-test_sslclient_LDADD =   	../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
+test_sslclient_LDADD =   @CLIENT_EXTRA_LDFLAGS@	../dbug/libdbug.a libvio.a ../mysys/libmysys.a \
 			../strings/libmystrings.a libvio.a $(openssl_libs)
 libvio_a_SOURCES =	vio.c viosocket.c viossl.c viosslfactories.c
 
-- 
2.30.9