Skip to content

Commit

Permalink
Call a function in the MySQL configure test to make sure it links.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jakepetroules committed Jun 1, 2016
1 parent a160bd4 commit 7cbafa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.tests/unix/mysql/mysql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@

int main(int, char **)
{
mysql_get_client_version();
return 0;
}

0 comments on commit 7cbafa8

Please sign in to comment.