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>
Mon, 14 Jun 2021 14:41:01 +0000 (15:41 +0100)
commite47471992d6706a067a59da57082854be65febea
tree8a99b1ee1ec9af80cbd2f092f02b41364a2e1f88
parent1127a0bcfd92ba7b6017f43f134c635be4ac208f
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>
Gbp-Pq: Name 0048-pygrub-Specify-rpath-LIBEXEC_LIB-when-building-fsima.patch
tools/pygrub/Makefile
tools/pygrub/setup.py