This repository has been archived on 2024-01-15. You can view files and clone it, but cannot push or open issues or pull requests.
2015-10-14 11:03:33 +00:00
|
|
|
|
|
|
|
mysql_LIBS = `mysql_config --libs`
|
|
|
|
mysql_CFLAGS = `mysql_config --cflags`
|
|
|
|
|
2018-07-02 15:20:11 +00:00
|
|
|
vn_mysql_libdir = /usr/lib/mysql/plugin
|
2019-12-02 16:58:23 +00:00
|
|
|
|
|
|
|
if MYSQL8
|
|
|
|
|
|
|
|
MYSQLD_SOURCE = /var/mysql/mysql-8.0.15
|
|
|
|
vn_mysql_CFLAGS = \
|
|
|
|
-Wall -O3 \
|
|
|
|
-DMYSQL8=1 \
|
|
|
|
-I$(MYSQLD_SOURCE)/include \
|
|
|
|
-I$(MYSQLD_SOURCE) \
|
|
|
|
-I$(MYSQLD_SOURCE)/bld/include \
|
|
|
|
-I$(MYSQLD_SOURCE)libbinlogevents/export \
|
|
|
|
$(mysql_CFLAGS)
|
|
|
|
|
|
|
|
else
|
|
|
|
|
2015-10-14 11:03:33 +00:00
|
|
|
vn_mysql_CFLAGS = \
|
|
|
|
-Wall -O3 \
|
|
|
|
$(mysql_CFLAGS)
|
2019-12-02 16:58:23 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2015-10-14 11:03:33 +00:00
|
|
|
vn_mysql_LDFLAGS = \
|
|
|
|
-no-undefined \
|
|
|
|
-module \
|
|
|
|
-avoid-version \
|
|
|
|
-export-dynamic \
|
2019-12-02 16:58:23 +00:00
|
|
|
$(mysql_LIBS)
|