Do not realpath ANDROID_SDK_ROOT

This commit is contained in:
topjohnwu 2023-06-02 15:36:45 -07:00
parent 9ea9f01933
commit 7eebe62bb6

View File

@ -73,7 +73,7 @@ default_targets = ["magisk", "magiskinit", "magiskboot", "magiskpolicy", "busybo
support_targets = default_targets + ["resetprop"] support_targets = default_targets + ["resetprop"]
rust_targets = ["magisk", "magiskinit", "magiskboot", "magiskpolicy"] rust_targets = ["magisk", "magiskinit", "magiskboot", "magiskpolicy"]
sdk_path = op.realpath(os.environ["ANDROID_SDK_ROOT"]) sdk_path = os.environ["ANDROID_SDK_ROOT"]
ndk_root = op.join(sdk_path, "ndk") ndk_root = op.join(sdk_path, "ndk")
ndk_path = op.join(ndk_root, "magisk") ndk_path = op.join(ndk_root, "magisk")
ndk_build = op.join(ndk_path, "ndk-build") ndk_build = op.join(ndk_path, "ndk-build")