Skip to content

Commit

Permalink
don't try to create already-existing symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Dec 3, 2023
1 parent 6bd78be commit 49805d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipe/install-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ CHOST=${macos_machine}

pushd "${PREFIX}"/bin
ln -s clang ${CHOST}-clang
if [[ "${CBUILD}" != ${CHOST} ]]; then
if [[ "${CBUILD}" != ${CHOST} ]] && [[ "${CBUILD}" != linux-* ]]; then
# on linux, the `clang` package already has a $TRIPLE-clang, see
# https://github.com/conda-forge/clangdev-feedstock/pull/251
ln -s clang ${CBUILD}-clang
fi
popd

0 comments on commit 49805d2

Please sign in to comment.