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)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 23 Mar 2023 19:40:49 +0000 (19:40 +0000)
commitb020320a2f48ac0a2cb1623f328bccd77ed03a0c
tree9da8b9383e7e4fe30f6e8bead454b6172660aa7e
parentee7ea578967e5d499cda96d9a5f0164cda31fc6d
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 0022-pygrub-Specify-rpath-LIBEXEC_LIB-when-building-fsima.patch
tools/pygrub/Makefile
tools/pygrub/setup.py