summaryrefslogtreecommitdiff
path: root/unittests/internaltests.py
diff options
context:
space:
mode:
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>2023-09-15 17:01:15 +0300
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-10 20:37:38 +0300
commitdce9c554536928bb55667d6ca53b24ad91c4c475 (patch)
tree92caa40fc10c402db5badd3e27ffdff8e31ad33f /unittests/internaltests.py
parent7d44982b32974059f5c3e0b6a7dfc7838e295390 (diff)
downloadmeson-dce9c554536928bb55667d6ca53b24ad91c4c475.tar.gz
minstall: allow missing symlink destination in `install_symlink`
Currently there's an undocumented behavior where using `install_symlink()` to point to a file that does not exist results in failure `ERROR: Tried to install symlink to missing file`. Such behavior makes little sense because there's no reason the destination file should exist. The "destination file" may belong to another package, in particular to a package inside the same repo the Meson is controlling, in both cases there's no reason the other package should be present in the system, because installation does not typically happen into the system but rather to DESTDIR. And the file may not be present in DESTDIR either because it may belong to a different installation target (and different DESTDIR) even if it's in the same repo. Best backward-compatible decision here would be to just remove the check, which is done by this commit. Fixes: https://github.com/mesonbuild/meson/issues/12253
Diffstat (limited to 'unittests/internaltests.py')
0 files changed, 0 insertions, 0 deletions