From 806e57433a38193ae14942ee60f573fe47f4b643 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 11 Sep 2016 21:19:28 +0100 Subject: Rewrite the build system directive parser. --- src/modules/extra/m_mysql.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/modules/extra/m_mysql.cpp') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index e65a8de92..d965c88fb 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -19,6 +19,12 @@ * along with this program. If not, see . */ +/// $CompilerFlags: execute("mysql_config --include" "MYSQL_CXXFLAGS") +/// $LinkerFlags: execute("mysql_config --libs_r" "MYSQL_LDFLAGS" "-lmysqlclient") + +/// $PackageInfo: require_system("darwin") mysql-connector-c +/// $PackageInfo: require_system("ubuntu") libmysqlclient-dev + // Fix warnings about the use of `long long` on C++03. #if defined __clang__ @@ -37,9 +43,6 @@ /* VERSION 3 API: With nonblocking (threaded) requests */ -/* $CompileFlags: exec("mysql_config --include") */ -/* $LinkerFlags: exec("mysql_config --libs_r") rpath("mysql_config --libs_r") */ - /* THE NONBLOCKING MYSQL API! * * MySQL provides no nonblocking (asyncronous) API of its own, and its developers recommend -- cgit v1.3.1-10-gc9f91