Add the directory containing MinGW DLLs to Wine PATH too
These DLLs are required for running any applications built using MinGW.
This commit is contained in:
parent
7d796c6aa6
commit
b9fb8358b3
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci_msw_cross.yml
vendored
5
.github/workflows/ci_msw_cross.yml
vendored
|
|
@ -120,7 +120,10 @@ jobs:
|
|||
# way to change this, so just adjust the owner after checkout.
|
||||
sudo chown -R $normal_uid $GITHUB_WORKSPACE
|
||||
|
||||
echo "WINEPATH=$(winepath --windows $(pwd)/lib)" >> $GITHUB_ENV
|
||||
# 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};$(winepath --windows $(pwd)/lib)"
|
||||
echo "WINEPATH=${winepath}" >> $GITHUB_ENV
|
||||
|
||||
cpu_count=`nproc`
|
||||
((cpu_count++))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue