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:
Vadim Zeitlin 2021-06-27 14:34:49 +02:00
parent 7d796c6aa6
commit b9fb8358b3

View File

@ -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++))