aboutsummaryrefslogtreecommitdiff
path: root/ports/zstd/install_pkgpc.patch
diff options
context:
space:
mode:
authorMatthieu Penant <thieum22@hotmail.com>2021-03-31 17:29:14 -0400
committerGitHub <noreply@github.com>2021-03-31 14:29:14 -0700
commit13640c56717dec1bba16c6eb0815d3889dbe1c4d (patch)
tree02461c5d438b4d0ba5f7ca5928e06ba0586bccf7 /ports/zstd/install_pkgpc.patch
parentf22705fd158e09d432cc23b36ed249ca99386718 (diff)
downloadvcpkg-13640c56717dec1bba16c6eb0815d3889dbe1c4d.tar.gz
vcpkg-13640c56717dec1bba16c6eb0815d3889dbe1c4d.zip
[zstd] update to 1.4.9 (#16865)
* [zstd] update to 1.4.9 Fixes #16642 Update zstd to the latest version 1.4.9: https://github.com/facebook/zstd/releases/tag/v1.4.9 * update baseline / version * Update vcpkg.json * Update vcpkg.json apply suggested diff file * attempt to fix build errors (missing file libzstd?) * Update zstd.json * Update portfile.cmake * fix version Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Diffstat (limited to 'ports/zstd/install_pkgpc.patch')
-rw-r--r--ports/zstd/install_pkgpc.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/ports/zstd/install_pkgpc.patch b/ports/zstd/install_pkgpc.patch
index 4936f05f6..61c8a956a 100644
--- a/ports/zstd/install_pkgpc.patch
+++ b/ports/zstd/install_pkgpc.patch
@@ -1,13 +1,14 @@
diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
-index 666da60c1..4274cbdd3 100644
+index 179c9762..f86efdbc 100644
--- a/build/cmake/lib/CMakeLists.txt
+++ b/build/cmake/lib/CMakeLists.txt
@@ -134,7 +134,7 @@ if (ZSTD_BUILD_STATIC)
OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME})
endif ()
-
--if (UNIX)
+
+-if (UNIX OR MINGW)
+if (1)
# pkg-config
set(PREFIX "${CMAKE_INSTALL_PREFIX}")
- set(LIBDIR "${CMAKE_INSTALL_LIBDIR}")
+ set(EXEC_PREFIX "\${prefix}")
+ \ No newline at end of file