summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2021-11-05 19:58:00 +0100
committerMichel Zou2021-11-05 19:58:00 +0100
commitacf37317f5119d6ad8448770c800c7ced2863bb1 (patch)
treee061d5d57beecda8a2ef5ff980badbca50d7e88d
parent53d54b4131341977344f3ddb553ee6c0dd4ae415 (diff)
downloadaur-mingw-w64-libharu.tar.gz
msvc
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b90be62c7b6..24251c53c3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
prepare() {
cd "$srcdir/libharu-RELEASE_${pkgver//./_}"
- sed -i "s|WIN32 AND NOT CYGWIN|WIN32 AND NOT CYGWIN AND NOT MINGW|g" src/CMakeLists.txt
+ sed -i "s|WIN32 AND NOT CYGWIN|MSVC|g" src/CMakeLists.txt
sed -i "s|install(DIRECTORY if DESTINATION .)|message(STATUS hello)|g" CMakeLists.txt
sed -i "s|install(FILES README CHANGES INSTALL DESTINATION .)|message(STATUS hello)|g" CMakeLists.txt
rm -f src/hpdf_shading.c && curl -L https://github.com/libharu/libharu/pull/157.patch | patch -p1