Skip to content

Commit

Permalink
[hiredis] Fix static build (#22038)
Browse files Browse the repository at this point in the history
* [hiredis] Fix static build

* Update version database
  • Loading branch information
kafeg authored Dec 15, 2021
1 parent e92dfa5 commit 977c4b6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ports/hiredis/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(HIREDIS_PATCHES support-static-in-win.patch)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
set(HIREDIS_PATCHES support-static.patch)
endif()

vcpkg_from_github(
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ports/hiredis/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hiredis",
"version": "1.0.2",
"port-version": 2,
"port-version": 3,
"description": "Hiredis is a minimalistic C client library for the Redis database.",
"homepage": "https://github.com/redis/hiredis",
"dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2698,7 +2698,7 @@
},
"hiredis": {
"baseline": "1.0.2",
"port-version": 2
"port-version": 3
},
"hpx": {
"baseline": "1.7.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/h-/hiredis.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4eafe5d23a2d906153cc8821c14092f2a9d3ef8a",
"version": "1.0.2",
"port-version": 3
},
{
"git-tree": "b651b36e6488f1eaaafc33d15d73d94751919f03",
"version": "1.0.2",
Expand Down

0 comments on commit 977c4b6

Please sign in to comment.