diff options
author | teor <teor@torproject.org> | 2018-11-15 18:32:52 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2018-11-15 19:23:37 +1000 |
commit | 83c1baca168fdd0595e9c9633e031f3bdb8df8ed (patch) | |
tree | 0c905880f507e4027bb9cc0dcf7e05851ebd5a27 | |
parent | 540c833f20934ca0219579b96fae87c65bc1534e (diff) | |
download | tor-83c1baca168fdd0595e9c9633e031f3bdb8df8ed.tar.gz tor-83c1baca168fdd0595e9c9633e031f3bdb8df8ed.zip |
Appveyor: manually add zstd flags to configure
The mingw zstd from MSYS2 doesn't come with a pkg-config file.
Fixes 28454 on Tor 0.3.4.1-alpha.
-rw-r--r-- | .appveyor.yml | 2 | ||||
-rw-r--r-- | changes/bug28454 | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index fdf831686a..c288ad8120 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -43,7 +43,7 @@ build_script: Set-Location "${env:build}" Execute-Bash "which ${env:target}-gcc" Execute-Bash "${env:target}-gcc --version" - Execute-Bash "../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --disable-asciidoc --enable-fatal-warnings ${env:hardening}" + Execute-Bash "ZSTD_CFLAGS='-L/${env:compiler_path}/include' ZSTD_LIBS='-L/${env:compiler_path}/lib -lzstd' ../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --disable-asciidoc --enable-fatal-warnings ${env:hardening}" Execute-Bash "V=1 make -j2" Execute-Bash "V=1 make -j2 install" } diff --git a/changes/bug28454 b/changes/bug28454 new file mode 100644 index 0000000000..ca46ae2777 --- /dev/null +++ b/changes/bug28454 @@ -0,0 +1,4 @@ + o Minor bugfixes (continuous integration, Windows): + - Manually configure the zstd compiler options, when building using + mingw on Appveyor Windows CI. The MSYS2 mingw zstd package does not + come with a pkg-config file. Fixes bug 28454; bugfix on 0.3.4.1-alpha. |