mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[sqlite3] Embed dllimport in header (#16646)
* [sqlite3] Embed dllimport in header * Add sqlite3 version info Co-authored-by: Robert Schumacher <ras0219@outlook.com>
This commit is contained in:
parent
1c4fb017f0
commit
bf2aaf9002
@ -47,5 +47,9 @@ configure_file(
|
|||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||||
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sqlite3.h" "# define SQLITE_API\n" "# define SQLITE_API __declspec(dllimport)\n")
|
||||||
|
endif()
|
||||||
|
|
||||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright "SQLite is in the Public Domain.\nhttp://www.sqlite.org/copyright.html\n")
|
file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright "SQLite is in the Public Domain.\nhttp://www.sqlite.org/copyright.html\n")
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "sqlite3",
|
"name": "sqlite3",
|
||||||
"version": "3.35.4",
|
"version": "3.35.4",
|
||||||
|
"port-version": 1,
|
||||||
"description": "SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.",
|
"description": "SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.",
|
||||||
"homepage": "https://sqlite.org/",
|
"homepage": "https://sqlite.org/",
|
||||||
"features": {
|
"features": {
|
||||||
|
@ -5838,7 +5838,7 @@
|
|||||||
},
|
},
|
||||||
"sqlite3": {
|
"sqlite3": {
|
||||||
"baseline": "3.35.4",
|
"baseline": "3.35.4",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"sqlitecpp": {
|
"sqlitecpp": {
|
||||||
"baseline": "3.1.1",
|
"baseline": "3.1.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "b2c75af9dcf9f76ea714cb93a8fe113f9bb69f48",
|
||||||
|
"version": "3.35.4",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "dbe1b93bfd28e58498a79992312b06422b049afb",
|
"git-tree": "dbe1b93bfd28e58498a79992312b06422b049afb",
|
||||||
"version": "3.35.4",
|
"version": "3.35.4",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user