diff options
| author | huangqinjin <huangqinjin@gmail.com> | 2020-05-16 08:04:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-15 17:04:42 -0700 |
| commit | b0c42cb8a244fcef19dee0ae4b80209d6b92c58b (patch) | |
| tree | 418902aadd597cee4d0ae41975facfa7b995d3f5 | |
| parent | 9db3ff7a06d0afaa59d8f51563e8de6e0c1a8cba (diff) | |
| download | vcpkg-b0c42cb8a244fcef19dee0ae4b80209d6b92c58b.tar.gz vcpkg-b0c42cb8a244fcef19dee0ae4b80209d6b92c58b.zip | |
[sqlite3] Enable build for android (#11267)
| -rw-r--r-- | ports/sqlite3/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/sqlite3/CONTROL | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/sqlite3/CMakeLists.txt b/ports/sqlite3/CMakeLists.txt index 64ff00262..3c1fc071c 100644 --- a/ports/sqlite3/CMakeLists.txt +++ b/ports/sqlite3/CMakeLists.txt @@ -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)") diff --git a/ports/sqlite3/CONTROL b/ports/sqlite3/CONTROL index 37384865e..711e8a077 100644 --- a/ports/sqlite3/CONTROL +++ b/ports/sqlite3/CONTROL @@ -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. |
