xref: /OK3568_Linux_fs/buildroot/package/oracle-mysql/0006-no-force-static-build.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1configure: do not force a static link for non-installed programs
2
3Otherwise, it tries to link against a static libz, which may not exist
4in a shared-only system.
5
6Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7
8diff -durN mysql-5.1.73.orig/configure.in mysql-5.1.73/configure.in
9--- mysql-5.1.73.orig/configure.in	2014-12-22 00:04:46.550508208 +0100
10+++ mysql-5.1.73/configure.in	2014-12-22 00:05:56.415307480 +0100
11@@ -562,7 +562,6 @@
12   AC_MSG_ERROR([MySQL requires an ANSI C compiler (and a C++ compiler). Try gcc. See the Installation chapter in the Reference Manual.])
13 fi
14
15-NOINST_LDFLAGS="-static"
16
17 static_nss=""
18 STATIC_NSS_FLAGS=""
19