diff options
author | James McDonnell <jmcdonnell@qnx.com> | 2016-06-22 10:35:22 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@qnx.com> | 2016-06-28 14:36:01 +0000 |
commit | 0d720a000f4f35c5ea6942426efec6847b06f4ce (patch) | |
tree | 39e793c0fcc710b640cffc50fe2cf71acec3c5e5 /config.tests/unix | |
parent | 2a7cee47e5e84c73e32a6953e145771196645f1a (diff) |
Improve SQLite3 configuration test
Reference an SQLite3 function to verify that the library is being
linked. Discovered that the test didn't do this when I switched the
Windows configure to use a compile test to determine whether the
system has SQLite3. The test passed even though the initial
configure changes failed to provide the test with information about
the SQLite3 libraries.
Change-Id: I3114cfc2dec3a42a60c8e1e432eb8375b440d7e0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'config.tests/unix')
-rw-r--r-- | config.tests/unix/sqlite/sqlite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.tests/unix/sqlite/sqlite.cpp b/config.tests/unix/sqlite/sqlite.cpp index b639e82ed8..1059e516af 100644 --- a/config.tests/unix/sqlite/sqlite.cpp +++ b/config.tests/unix/sqlite/sqlite.cpp @@ -35,5 +35,6 @@ int main(int, char **) { + sqlite3_open_v2(0, 0, 0, 0); return 0; } |