mirror of
https://github.com/YACReader/yacreader
synced 2026-02-07 15:50:13 -05:00
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:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user