1 configure: do not force a static link for non-installed programs
3 Otherwise, it tries to link against a static libz, which may not exist
4 in a shared-only system.
6 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 diff -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
12 AC_MSG_ERROR([MySQL requires an ANSI C compiler (and a C++ compiler). Try gcc. See the Installation chapter in the Reference Manual.])
15 -NOINST_LDFLAGS="-static"