aboutsummaryrefslogtreecommitdiff
path: root/ports/zstd/install_pkgpc.patch
diff options
context:
space:
mode:
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