From 7cbafa8de7bc516f089503d12cab397e7965b8a5 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 27 May 2016 23:47:49 -0700 Subject: Call a function in the MySQL configure test to make sure it links. This fixes a problem where the configure test may produce a false positive on iOS if a copy of libmysql for OS X is located, due to the fact that linking to a dynamic library of a different architecture than expected is not (yet) an error. Change-Id: Id41765f49e31d9c9c3becc3436ff5a69b160b8e0 Reviewed-by: Oswald Buddenhagen --- config.tests/unix/mysql/mysql.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'config.tests/unix/mysql/mysql.cpp') diff --git a/config.tests/unix/mysql/mysql.cpp b/config.tests/unix/mysql/mysql.cpp index 9cc2db03d9..3d51c612da 100644 --- a/config.tests/unix/mysql/mysql.cpp +++ b/config.tests/unix/mysql/mysql.cpp @@ -35,5 +35,6 @@ int main(int, char **) { + mysql_get_client_version(); return 0; } -- cgit v1.2.3