From b0c42cb8a244fcef19dee0ae4b80209d6b92c58b Mon Sep 17 00:00:00 2001 From: huangqinjin Date: Sat, 16 May 2020 08:04:42 +0800 Subject: [PATCH] [sqlite3] Enable build for android (#11267) --- ports/sqlite3/CMakeLists.txt | 2 +- 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.