[leveldb] force static build when triplet is dynamic

This commit is contained in:
jasjuang 2017-11-21 23:30:36 -08:00
parent 4cb5212dcb
commit c7caa18a71
2 changed files with 2 additions and 4 deletions

View File

@ -1,3 +1,3 @@
Source: leveldb
Version: 2017-10-25-8b1cd3753b184341e837b30383832645135d3d73
Version: 2017-10-25-8b1cd3753b184341e837b30383832645135d3d73-1
Description: LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

View File

@ -1,8 +1,6 @@
include(vcpkg_common_functions)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
message(FATAL_ERROR "leveldb doesn't currently support dynamic buildsas there are no export symbols defined.")
endif()
set(VCPKG_LIBRARY_LINKAGE static)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/leveldb-8b1cd3753b184341e837b30383832645135d3d73)