0006-no-force-static-build.patch 654 B

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