Skip to content

Commit 874d2e8

Browse files
authored
Merge pull request #1208 from Unity-Technologies/fix-linux-x86
Install required 32 bit libs and set UNITY_THISISABUILDMACHINE on linux
2 parents 2a118ed + 9eb4ec7 commit 874d2e8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.yamato/build_linux_x64.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ sudo apt-get install -y binutils debootstrap
33
git submodule update --init --recursive
44
# try again in case previous update failed
55
git submodule update --init --recursive
6+
export UNITY_THISISABUILDMACHINE=1
67
cd external/buildscripts
78
./bee
89
cd ../..

.yamato/build_linux_x86.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
sudo dpkg --add-architecture i386
2+
sudo DEBIAN_FRONTEND=noninteractive apt-get -qy update
13
sudo apt-get install -y schroot
24
sudo apt-get install -y binutils debootstrap
35
sudo apt-get install -y m4
46
sudo apt-get install -y libc6-i386
57
sudo apt-get install -y libc6-dev-i386
6-
sudo apt-get install -y libncurses5-i386
8+
sudo apt-get install -y zlib1g:i386
9+
sudo apt-get install -y zlib1g-dev:i386
10+
sudo apt-get install -y libstdc++6:i386
11+
sudo apt-get install -y libncurses5:i386
12+
sudo apt-get install -y libncurses5-dev:i386
713
git submodule update --init --recursive
14+
export UNITY_THISISABUILDMACHINE=1
815
# try again in case previous update failed
916
git submodule update --init --recursive
1017
cd external/buildscripts

0 commit comments

Comments
 (0)