[go: nahoru, domu]

Skip to content

Commit

Permalink
Use a relative target for 'as' symlinks
Browse files Browse the repository at this point in the history
Bug: android/ndk#1569
Test: checkbuild.py
Test: verify that all symlinks are relative
Test: Use -fno-integrated-as manually
Change-Id: I977734b3681b341f86cf72a95a19a798682fb93c
  • Loading branch information
rprichard committed Nov 1, 2021
1 parent 469a361 commit 853a9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk/checkbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ def install(self) -> None:
if self.host is Host.Windows64:
shutil.copy2(gas, triple_bin_dir / 'as.exe')
else:
(triple_bin_dir / 'as').symlink_to(bin_dir / gas_name)
make_symlink(triple_bin_dir / 'as', bin_dir / gas_name)

# Without a GCC lib directory, Clang will not consider the
# toolchain to be a binutils directory, so won't find GAS when
Expand Down

0 comments on commit 853a9cc

Please sign in to comment.