Skip to content

Commit 49e8e3d

Browse files
authored
Revert "Fix cross-compiling to ohos on macos 26 (#669)"
This reverts commit 36e3c01.
1 parent dfae36e commit 49e8e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ohos-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def create_environment_for_build() -> Dict[str, str]:
7575

7676
llvm_toolchain = os.path.join(ndk_root, "llvm")
7777

78-
env['PATH'] = os.pathsep.join([env["PATH"], os.path.join(llvm_toolchain, "bin")])
78+
env['PATH'] = os.pathsep.join([os.path.join(llvm_toolchain, "bin"), env["PATH"]])
7979

8080
set_toolchain_binaries_in_env(llvm_toolchain, target_triple, env)
8181

0 commit comments

Comments
 (0)