vcpkg/ports/hiredis/support-static.patch
Vitaly 977c4b612d
[hiredis] Fix static build (#22038)
* [hiredis] Fix static build

* Update version database
2021-12-15 10:58:34 -08:00

18 lines
458 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e78894..87aba5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,4 +22,4 @@ PROJECT(hiredis VERSION "${VERSION}")
ENDIF()
-ADD_LIBRARY(hiredis SHARED ${hiredis_sources})
+ADD_LIBRARY(hiredis ${hiredis_sources})
@@ -60,5 +60,5 @@ IF(ENABLE_SSL)
SET(hiredis_ssl_sources
ssl.c)
- ADD_LIBRARY(hiredis_ssl SHARED
+ ADD_LIBRARY(hiredis_ssl
${hiredis_ssl_sources})