diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-05-27 23:47:49 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-06-01 02:30:03 +0000 |
commit | 7cbafa8de7bc516f089503d12cab397e7965b8a5 (patch) | |
tree | da2b2e7e85580a162a68b3c515efd663158e3c54 /config.tests | |
parent | a160bd4fccaebafb5453a642f43bdefafc1e2565 (diff) |
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 <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/mysql/mysql.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |