]> TLD Linux GIT Repositories - packages/mysql.git/blob - mysql-sphinx.patch
- fix zlib library being listed as incorrect -lzlib instead of -lz
[packages/mysql.git] / mysql-sphinx.patch
1 diff -ur percona-server-5.7.35-38.orig/storage/sphinx/Makefile.am percona-server-5.7.35-38/storage/sphinx/Makefile.am
2 --- percona-server-5.7.35-38.orig/storage/sphinx/Makefile.am    2016-07-19 12:42:18.000000000 +0200
3 +++ percona-server-5.7.35-38/storage/sphinx/Makefile.am 2021-11-24 19:47:02.552556917 +0100
4 @@ -31,19 +31,19 @@
5  LDADD =
6  
7  DEFS= @DEFS@ \
8 -      -D_REENTRANT -D_PTHREADS -DENGINE -DSTORAGE_ENGINE -DMYSQL_SERVER
9 +      -D_REENTRANT -D_PTHREADS -DSTORAGE_ENGINE -DMYSQL_SERVER
10  
11  noinst_HEADERS =       ha_sphinx.h
12  
13  EXTRA_LTLIBRARIES =    ha_sphinx.la
14  pkgplugin_LTLIBRARIES = @plugin_sphinx_shared_target@ sphinx.la
15  
16 -ha_sphinx_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
17 +ha_sphinx_la_LDFLAGS = -module -avoid-version -rpath $(MYSQLLIBdir)
18  ha_sphinx_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
19  ha_sphinx_la_CFLAGS =  $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
20  ha_sphinx_la_SOURCES = ha_sphinx.cc
21  
22 -sphinx_la_LDFLAGS = -module
23 +sphinx_la_LDFLAGS = -module -avoid-version -rpath $(MYSQLLIBdir)
24  sphinx_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
25  sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
26  sphinx_la_SOURCES = snippets_udf.cc