Skip to content

Commit 08811e6

Browse files
authored
chore: cleanup
Removed early exit on missing toolchain clang and added execution of NS_LD.
1 parent a5d265d commit 08811e6

File tree

1 file changed

+2
-4
lines changed
  • project-template-ios/internal

1 file changed

+2
-4
lines changed

project-template-ios/internal/nsld.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,12 @@ if [[ -z "$NS_LD" ]]; then
6666
NS_LD="$DEFAULT_LD"
6767
else
6868
echo "NSLD: Skipping link because toolchain clang not found: $DEFAULT_LD (TOOLCHAIN_DIR may be missing)."
69-
exit 0
7069
fi
7170
fi
7271

7372
# If NS_LD was explicitly set to the default path but it's missing, skip as well.
7473
if [[ "$NS_LD" == "$DEFAULT_LD" && ! -x "$NS_LD" ]]; then
7574
echo "NSLD: Skipping link because toolchain clang not found: $NS_LD (TOOLCHAIN_DIR may be missing)."
76-
exit 0
75+
else
76+
"$NS_LD" "$@"
7777
fi
78-
79-
"$NS_LD" "$@"

0 commit comments

Comments
 (0)