Skip to content

Commit

Permalink
Merge pull request #116 from malmeloo/fix-windows-py3bin
Browse files Browse the repository at this point in the history
Fix Windows not building if `py3bin` is not present
  • Loading branch information
mmicko committed Jul 5, 2024
2 parents a184f3c + 6834692 commit 48abf0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ for script in bin/* py3bin/*; do
fi
done

cp -f py3bin/* lib/.
rm -rf py3bin
if [ -d "py3bin" ]; then
cp -f py3bin/* lib/.
rm -rf py3bin
fi

# Remove general purpose launcher
rm -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/win-launcher.exe
Expand Down

0 comments on commit 48abf0c

Please sign in to comment.