Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 625a3d3

Browse files
authored
Merge pull request #188 from Unity-Technologies/fix_build_issue
delete SDKROOT in the env if any
2 parents 83c9cdb + 42398f4 commit 625a3d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

engine/Scripts/lib_build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ def build_engine():
272272
global bitcode
273273
dest_folder=""
274274

275+
#delete SDKRoot env if any. It may conflict with the real sysroot path generated by Bee
276+
if 'SDKROOT' in os.environ:
277+
del os.environ['SDKROOT']
278+
275279
print("\nStarting build engine...")
276280
if platform == "windows":
277281
dest_folder = "x86_64"

0 commit comments

Comments
 (0)