Skip to content

Commit

Permalink
[sqlite3] Enable build for android (microsoft#11267)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangqinjin authored May 16, 2020
1 parent 9db3ff7 commit b0c42cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/sqlite3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand Down
2 changes: 1 addition & 1 deletion ports/sqlite3/CONTROL
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit b0c42cb

Please sign in to comment.