Add a patch for p7zip to address build problems triggered by p7zip Stdafx.h defining WIN64 on non-Windows x86_64 systems. Modify compileX11.sh to

check for lib7zip folder and try to apply the patch before build. Update documentation in README_7zip.txt.
This commit is contained in:
Felix Kauselmann
2014-06-14 00:44:44 +02:00
parent 169ecd485c
commit 98a3bc1684
3 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,14 @@
#! /bin/bash
cd ./compressed_archive
if [ ! -d "libp7zip" ]; then
echo "You need p7zip source code to compile YACReader. \
Please check the compressed_archive folder for further instructions."
exit
fi
patch -p0 -i libp7zip.patch
cd ..
echo "Compiling YACReader"
cd ./YACReader
qmake "CONFIG+=release"