pygame-ce
pygame-ce copied to clipboard
Windows - Meson does not check if the version of installed libraries match with the one built with
trafficstars
Hello,
First of all, this is more an enhancement proposal. A fast solution is just to delete prebuild directories, and let meson (download_win_prebuilt.py) recreate them.
Currently this is how meson checks if libraries are downloaded and download them if it's not the case :
prebuilt_dir = base_dir / 'prebuilt-' + arch_suffix
# download prebuilts (uses legacy builconfig code)
if not fs.is_dir(prebuilt_dir)
run_command(
[
find_program('python3', 'python'),
'buildconfig/download_win_prebuilt.py',
],
check: true,
)
endif
As you can see it only checks if the directory is here. So basically if the version does not match with the downloaded version, it should delete the directories, and redownload them.