8172a9848e7b2f63ff63195ae3e96a00c861cf1d
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mysql / 0006-no-force-static-build.patch
1 configure: do not force a static link for non-installed programs
2
3 Otherwise, it tries to link against a static libz, which may not exist
4 in a shared-only system.
5
6 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
7
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
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=""