aboutsummaryrefslogtreecommitdiff
path: root/versions
diff options
context:
space:
mode:
authorJesse Towner <jwtowner@users.noreply.github.com>2021-04-07 14:22:28 -0700
committerGitHub <noreply@github.com>2021-04-07 14:22:28 -0700
commit9d807041270262cc108b8deda60550a2cd95db1a (patch)
treed69984c88d64d54b3217fa1fa1015fb29fa95fcc /versions
parente1f1938cb8fc646749a900c2cf82b8cc42ba0541 (diff)
downloadvcpkg-9d807041270262cc108b8deda60550a2cd95db1a.tar.gz
vcpkg-9d807041270262cc108b8deda60550a2cd95db1a.zip
[woff2] fix for static linking and alternative compiler toolchains (#16392)
* [woff2] fix static linking and alternate toolchain First, this change teaches the woff2 CMake configuration to understand the vcpkg's custom unofficial-brotli pkg-config configuration in order to support static linking. This fixes a build failure on x64-linux or other triplets when VCPKG_LIBRARY_LINKAGE is set to static. Secondly, the CANONICAL_PREFIXES option for the woff2 CMake configuration has been changed to be on by default, otherwise custom triplets or toolchains using alternate compilers such as Clang/LLVM or other versions of GCC will fail. Leaving CANONICAL_PREFIXES set to OFF causes -no-canonical-prefixes to be passed to the compiler, which prevents symlinked compiler toolchains from working correctly. If a user does actually need non-canonical prefixes, chances are they will have a custom triplet or toolchain file that passes in -no-canonical-prefixes as a CFLAG for every port, and so setting it to ON here is a better default for vcpkg. * [woff2] update versions * [woff2] update control file * [woff2] update versions * [woff2] update ci.baseline.txt * Update ports/woff2/0001-unofficial-brotli.patch Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * [woff2] regenerate 0001-unofficial-brotli.patch file * [woff2] update versions * [woff2] regenerate 0001-unofficial-brotli.patch file attempt #2 * [woff2] update versions Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Diffstat (limited to 'versions')
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/w-/woff2.json5
2 files changed, 6 insertions, 1 deletions
diff --git a/versions/baseline.json b/versions/baseline.json
index b094f0062..70c9c5744 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6394,7 +6394,7 @@
},
"woff2": {
"baseline": "1.0.2",
- "port-version": 0
+ "port-version": 1
},
"wordnet": {
"baseline": "3.0",
diff --git a/versions/w-/woff2.json b/versions/w-/woff2.json
index b6bdca1a0..1cbece83e 100644
--- a/versions/w-/woff2.json
+++ b/versions/w-/woff2.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "1a8e802f8168798c4171f8384cd2e50b97af3a9b",
+ "version-string": "1.0.2",
+ "port-version": 1
+ },
+ {
"git-tree": "c39668ee425b3e9bb5ead506876f144656acf359",
"version-string": "1.0.2",
"port-version": 0