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.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/zstd/install_pkgpc.patch b/ports/zstd/install_pkgpc.patch
new file mode 100644
index 000000000..4936f05f6
--- /dev/null
+++ b/ports/zstd/install_pkgpc.patch
@@ -0,0 +1,13 @@
+diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt
+index 666da60c1..4274cbdd3 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 (1)
+ # pkg-config
+ set(PREFIX "${CMAKE_INSTALL_PREFIX}")
+ set(LIBDIR "${CMAKE_INSTALL_LIBDIR}")