1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 99-unnamed.dpatch by <ch@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Removes unnecessary library dependencies. See #390692
9
--- old/scripts/mysql_config.sh 2006-08-25 23:12:10.000000000 +0200
10
+++ new/scripts/mysql_config.sh 2006-10-02 21:05:52.000000000 +0200
14
# We intentionally add a space to the beginning and end of lib strings, simplifies replace later
15
-libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
16
+libs=" $ldflags -L$pkglibdir -lmysqlclient"
17
libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
18
-libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
19
-embedded_libs=" $ldflags -L$pkglibdir -lmysqld @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@ "
20
+libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @openssl_libs@ "
21
+embedded_libs=" $ldflags -L$pkglibdir -lmysqld @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@ "
23
cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
24
include="-I$pkgincludedir"