diff --git a/meson.build b/meson.build index dcaeb92fb7..8a62fa1ba9 100644 --- a/meson.build +++ b/meson.build @@ -194,8 +194,18 @@ if plat == 'win' and host_machine.cpu_family().startswith('x86') check: true, ) + foreach lib : dlls + if not fs.exists(lib) + error(f''' + File "@lib@" does not exist. + Please try to delete "prebuilt_downloads/", "prebuilt-x64/" and "prebuilt-x86/" directories, and retry the installation. + ''') + endif + endforeach + # put dlls in root of install install_data(dlls, install_dir: pg_dir, install_tag: 'pg-tag') + else bases = ['/usr/local', '/usr', '/opt/homebrew', '/opt/local'] foreach inc_dir : bases