aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-sh
diff options
context:
space:
mode:
authorJoel Holdsworth <jholdsworth@nvidia.com>2022-02-24 15:33:06 +0000
committerChris Packham <judge.packham@gmail.com>2022-05-11 20:25:42 +1200
commitfd694dde63635183a0496600e40e7930060f1cb0 (patch)
tree709902c994c042a6176b6d92b80df9ec40cd7e89 /scripts/install-sh
parentd10a4318ace8f0e668e23b919195d63a9478171c (diff)
downloadcrosstool-ng-fd694dde63635183a0496600e40e7930060f1cb0.tar.gz
crosstool-ng-fd694dde63635183a0496600e40e7930060f1cb0.tar.bz2
crosstool-ng-fd694dde63635183a0496600e40e7930060f1cb0.zip
cc/gcc: Create liblto_plugin symbolic link with correct extension
Previously, cc/gcc.sh assumed that liblto_plugin would always be installed with the ".so" file extension. However, this assumption is incorrect when the host machine is Windows (".dll") or MacOS (".dylib"). This patch corrects this issue by probing the file extension in similar fashion to the way adjacent code determines the file extension of executable binaries. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Diffstat (limited to 'scripts/install-sh')
0 files changed, 0 insertions, 0 deletions