Use simpler expression for libgcc path in MSW CI workflow
Use the gcc option which outputs this path directly, rather than constructing it manually from pieces. No real changes.
This commit is contained in:
parent
3e7ad82016
commit
af019685da
2
.github/workflows/ci_msw_cross.yml
vendored
2
.github/workflows/ci_msw_cross.yml
vendored
@ -128,7 +128,7 @@ jobs:
|
||||
sudo chown -R $normal_uid $GITHUB_WORKSPACE
|
||||
|
||||
# Add the directories containing MinGW and wx DLLs to Wine path.
|
||||
winepath="$(winepath --windows /usr/lib/gcc/${HOST_TRIPLET}/$(${HOST_TRIPLET}-gcc -dumpversion|tr -d '\r'))"
|
||||
winepath="$(winepath --windows $(dirname $(${HOST_TRIPLET}-g++ -print-libgcc-file-name)))"
|
||||
winepath="${winepath};$(winepath --windows $(pwd)/lib)"
|
||||
echo "WINEPATH=${winepath}" >> $GITHUB_ENV
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user