From 4c2a1d9ea5fd20cf96e0452cf74e4c4196866772 Mon Sep 17 00:00:00 2001 From: Valentin Rakush Date: Tue, 21 Jan 2020 20:03:23 +0000 Subject: [PATCH] Fix compilation errors after merge --- test/tap/tests/Makefile | 2 +- test/tap/tests/sqlite3-t.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/tap/tests/Makefile b/test/tap/tests/Makefile index 8fccb52e9..5e1289438 100644 --- a/test/tap/tests/Makefile +++ b/test/tap/tests/Makefile @@ -84,7 +84,7 @@ tests: basic-t set_character_set-t charset_unsigned_int-t select_config_file-t s tests-monitor: galera_1_timeout_count galera_2_timeout_no_count aurora sqlite3-t: $(TAP_LIBDIR)/libtap.a sqlite3-t.cpp - g++ sqlite3-t.cpp $(INCLUDEDIRS) $(LDIRS) $(OPT) ../../../lib/libproxysql.a -lpthread -ldl -std=c++11 -ltap -o sqlite3-t + g++ sqlite3-t.cpp $(INCLUDEDIRS) $(LDIRS) $(OPT) ../../../lib/libproxysql.a $(MYLIBS) -lpthread -ldl -std=c++11 -ltap -o sqlite3-t basic-t: $(TAP_LIBDIR)/libtap.a g++ basic-t.cpp $(INCLUDEDIRS) $(LDIRS) $(OPT) -std=c++11 -ltap -o basic-t diff --git a/test/tap/tests/sqlite3-t.cpp b/test/tap/tests/sqlite3-t.cpp index a6589b0d6..63acbb048 100644 --- a/test/tap/tests/sqlite3-t.cpp +++ b/test/tap/tests/sqlite3-t.cpp @@ -1,9 +1,12 @@ +#define PROXYSQL_EXTERN + #include #include "tap.h" #include #include #include #include "sqlite3db.h" +#include "proxysql.h" int main() { plan(8);