meson: accept relative symlinks in "meson introspect --installed" data
commitf32eb0021a85efaca97f69b0e9201737562a8e4f
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Dec 2022 12:25:00 +0000 (14 13:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Jan 2023 23:51:02 +0000 (6 00:51 +0100)
tree1fd702912586f621ee6bb4020e2cf77250e1c497
parente51340243687a2cd7ffcf0d6e2de030bed4b8720
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>
scripts/symlink-install-tree.py