diff options
| author | Koby Kahane <kobykahane@gmail.com> | 2020-03-11 02:21:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 17:21:14 -0700 |
| commit | a181bed0cf4f0c4bdae6ce852bedd5c9872cffc9 (patch) | |
| tree | eb70a8e30d1c522583061f1b2d6bd1852c08b0f1 /ports/rocksdb/0004-static-linking-in-linux.patch | |
| parent | 980331d7a608bfbf70fd74b4a5f12885542342bd (diff) | |
| download | vcpkg-a181bed0cf4f0c4bdae6ce852bedd5c9872cffc9.tar.gz vcpkg-a181bed0cf4f0c4bdae6ce852bedd5c9872cffc9.zip | |
[rocksdb] Update to v6.6.4 (#10123)
Diffstat (limited to 'ports/rocksdb/0004-static-linking-in-linux.patch')
| -rw-r--r-- | ports/rocksdb/0004-static-linking-in-linux.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/rocksdb/0004-static-linking-in-linux.patch b/ports/rocksdb/0004-static-linking-in-linux.patch new file mode 100644 index 000000000..afa4fd326 --- /dev/null +++ b/ports/rocksdb/0004-static-linking-in-linux.patch @@ -0,0 +1,18 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index eebda35e9..53ec5fced 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -781,7 +781,12 @@ if(WIN32) + set(LIBS ${ROCKSDB_STATIC_LIB} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) + else() + set(SYSTEM_LIBS ${CMAKE_THREAD_LIBS_INIT}) +- set(LIBS ${ROCKSDB_SHARED_LIB} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) ++ ++ if(ROCKSDB_DISABLE_INSTALL_SHARED_LIB) ++ set(LIBS ${ROCKSDB_STATIC_LIB} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) ++ else() ++ set(LIBS ${ROCKSDB_SHARED_LIB} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) ++ endif() + + add_library(${ROCKSDB_SHARED_LIB} SHARED ${SOURCES}) + target_link_libraries(${ROCKSDB_SHARED_LIB} |
