Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Dec 22, 2023
1 parent 3655dab commit 4b55dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -5842,7 +5842,7 @@ int ppkg_setup_toolchain_for_native_build(

#if defined (__APPLE__)
// https://keith.github.io/xcode-man-pages/xcrun.1.html
if (setenv("SDKROOT", toolchain->sysroot, 1) != 0) {
if (setenv("SDKROOT", toolchainForNativeBuild->sysroot, 1) != 0) {
perror("SDKROOT");
return PPKG_ERROR;
}
Expand Down

0 comments on commit 4b55dd8

Please sign in to comment.