[sqlite3] Enable build for android (#11267)

This commit is contained in:
huangqinjin 2020-05-16 08:04:42 +08:00 committed by GitHub
parent 9db3ff7a06
commit b0c42cb8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ project(sqlite3 C)
include_directories(.)
if(BUILD_SHARED_LIBS)
if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Darwin")
if(UNIX)
set(API "-DSQLITE_API=__attribute__((visibility(\"default\")))")
elseif(CMAKE_SYSTEM_NAME MATCHES "Windows")
set(API "-DSQLITE_API=__declspec(dllexport)")

View File

@ -1,5 +1,5 @@
Source: sqlite3
Version: 3.31.1
Version: 3.31.1-1
Homepage: https://sqlite.org/
Description: SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.