]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson: accept relative symlinks in "meson introspect --installed" data
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Dec 2022 12:25:00 +0000 (13:25 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Mar 2023 07:20:04 +0000 (10:20 +0300)
commit6647b6edeaf65495bea867fc5b16c0eccde6f153
tree02c78c2a62ab0b4ce0ff4af7f47b1e320da5c4c6
parent305c0f8c54071fd50364c01438f9979af5110c97
meson: accept relative symlinks in "meson introspect --installed" data

When installing shared libraries, as is the case for libvfio-user.so,
Meson will include relative symbolic links in the output of
"meson introspect --installed":

  {
    "libvfio-user.so": "/usr/local/lib64/libvfio-user.so",
    ...
  }

In the case of scripts/symlink-install-tree.py, this will
be a symbolic link to a symbolic link but, in any case, there is
no issue in creating it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit f32eb0021a85efaca97f69b0e9201737562a8e4f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
scripts/symlink-install-tree.py