[PATCH 1/1] cherry-pick fix for pkg-config
David McFarland
corngood@gmail.com
Mon Apr 19 19:12:24 GMT 2021
This PR removes a recently added -R/usr/lib from the linker flags, which is
incompatible with gcc:
$ cc $(pkg-config --libs libbrotlidec)
cc: error: unrecognized command-line option ‘-R’
---
brotli.cygport | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/brotli.cygport b/brotli.cygport
index dbf43b7..91deb5c 100644
--- a/brotli.cygport
+++ b/brotli.cygport
@@ -4,7 +4,7 @@ inherit cmake python-wheel
NAME="brotli"
VERSION=1.0.9
-RELEASE=1
+RELEASE=2
CATEGORY="Libs"
SUMMARY="Brotli compression format library"
DESCRIPTION="Brotli is a generic-purpose lossless compression algorithm that
@@ -14,6 +14,7 @@ comparable to the best currently available general-purpose compression methods.
It is similar in speed with deflate but offers more dense compression."
HOMEPAGE="https://github.com/google/brotli"
SRC_URI="${HOMEPAGE}/archive/v${VERSION}/brotli-v${VERSION}.tar.gz"
+PATCH_URI="${HOMEPAGE}/commit/092446fafb4bfb81738853b7c7f76b293cd92a80.patch"
BUILD_REQUIRES="\
cmake\
--
2.31.1
More information about the Cygwin
mailing list