Skip to content

Commit

Permalink
Add cc and c++ symlinks (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Jun 27, 2022
1 parent 933c4f2 commit e15b301
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linux/package_linux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ artifact_hash, tarball_path, = debootstrap(arch, image; archive, packages) do ro
tool="\$(basename "\${tool_path}" | sed -e 's/$(gcc_triplet)-//')"
ln -vsf "$(gcc_triplet)-\${tool}" "/usr/local/bin/\${tool}"
done
# Also create symlinks for `cc` and `c++`.
ln -vsf "/usr/local/bin/gcc" "/usr/local/bin/cc"
ln -vsf "/usr/local/bin/g++" "/usr/local/bin/c++"
"""
my_chroot(gcc_install_cmd)
my_chroot(gcc_symlink_cmd)
Expand Down

0 comments on commit e15b301

Please sign in to comment.