pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Sat, 27 Nov 2021 14:09:47 +0000 (15:09 +0100)
commit39da1ecaea3df970a7f6b36d78c3da1327170d7e
tree8547b057e8706b7fda1a882b65a8accb4a50cb4e
parent6c34bbd96ff6ece517b4ca9edd9b601a74853843
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py