mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-17 21:06:38 +08:00
Fix architectures
This commit is contained in:
parent
d3e29c7886
commit
85cbf139cb
@ -2,8 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Determine architecture
|
# Determine architecture
|
||||||
MACHINE_TYPE=`uname -m`
|
echo "Building for architecture $TARGETARCH"
|
||||||
echo "Building for architecture $MACHINE_TYPE"
|
|
||||||
|
|
||||||
if [ ! -f "/jcef/README.md" ]; then
|
if [ ! -f "/jcef/README.md" ]; then
|
||||||
echo "Did not find existing files to build - cloning..."
|
echo "Did not find existing files to build - cloning..."
|
||||||
@ -28,7 +27,7 @@ ninja -j4
|
|||||||
#Compile JCEF java classes
|
#Compile JCEF java classes
|
||||||
cd ../tools
|
cd ../tools
|
||||||
chmod +x compile.sh
|
chmod +x compile.sh
|
||||||
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
if [ ${TARGETARCH} == 'amd64' ]; then
|
||||||
./compile.sh linux64
|
./compile.sh linux64
|
||||||
else
|
else
|
||||||
./compile.sh linux32
|
./compile.sh linux32
|
||||||
@ -36,7 +35,7 @@ fi
|
|||||||
|
|
||||||
#Generate distribution
|
#Generate distribution
|
||||||
chmod +x make_distrib.sh
|
chmod +x make_distrib.sh
|
||||||
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
if [ ${TARGETARCH} == 'amd64' ]; then
|
||||||
./make_distrib.sh linux64
|
./make_distrib.sh linux64
|
||||||
else
|
else
|
||||||
./make_distrib.sh linux32
|
./make_distrib.sh linux32
|
||||||
|
Loading…
Reference in New Issue
Block a user