diff --git a/engine/Scripts/lib_build.py b/engine/Scripts/lib_build.py index c514be64..035d3506 100644 --- a/engine/Scripts/lib_build.py +++ b/engine/Scripts/lib_build.py @@ -272,6 +272,10 @@ def build_engine(): global bitcode dest_folder="" + #delete SDKRoot env if any. It may conflict with the real sysroot path generated by Bee + if 'SDKROOT' in os.environ: + del os.environ['SDKROOT'] + print("\nStarting build engine...") if platform == "windows": dest_folder = "x86_64"