From 0d720a000f4f35c5ea6942426efec6847b06f4ce Mon Sep 17 00:00:00 2001 From: James McDonnell Date: Wed, 22 Jun 2016 10:35:22 -0400 Subject: 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 --- config.tests/unix/sqlite/sqlite.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'config.tests') 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; } -- cgit v1.2.3