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
8 - -D_REENTRANT -D_PTHREADS -DENGINE -DSTORAGE_ENGINE -DMYSQL_SERVER
9 + -D_REENTRANT -D_PTHREADS -DSTORAGE_ENGINE -DMYSQL_SERVER
11 noinst_HEADERS = ha_sphinx.h
13 EXTRA_LTLIBRARIES = ha_sphinx.la
14 pkgplugin_LTLIBRARIES = @plugin_sphinx_shared_target@ sphinx.la
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
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