Skip to content

Commit

Permalink
improve library linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuseteam committed Apr 11, 2024
1 parent 82fb0f8 commit bbc3427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linkfunc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function link(){
if [ -f ${1}/$pkg ]; then
ln -s ${1}/$pkg ${2};
elif [ -f ${1}/$ARCH_TRIPLET/$pkg ]; then
ln -s ${1}/$ARCH_TRIPLET/$pkg ${2};
[ ! -f ${2}/$pkg ] && ln -s ${1}/$ARCH_TRIPLET/$pkg ${2};
elif [ -d ${1}/${pkg} ]; then
ln -s ${1}/$pkg ${2};
else
Expand Down

0 comments on commit bbc3427

Please sign in to comment.