From: Konrad Rzeszutek Wilk Date: Wed, 11 Feb 2015 14:45:41 +0000 (-0500) Subject: Makefile: Link libvccard to /usr/lib from /usr/lib/xen/lib X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1416e3180b15f92e0eb4e651036739a3e789d364;p=xentesttools%2Fbootstrap.git Makefile: Link libvccard to /usr/lib from /usr/lib/xen/lib They are installed there since qemu-traditional builds them and ends up installing them in /usr/lib/xen/lib. However the linker only looks in /usr/lib so we fail when starting that. Hence link the file to /usr/lib/xen/lib. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index 90266fc..3fb6cd8 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -937,6 +937,9 @@ endif fi echo "autoballoon=0" >> userspace/etc/xen/xl.conf mkdir -p userspace/usr/lib64/sasl2 + if test -f userspace/usr/lib/xen/lib/libcacard.so; then \ + (cd userspace/usr/lib/xen/lib; for lib in `ls -1 *.so*`; do (cd ../../; ln -sf xen/lib/$$lib); done;); \ + fi .PHONY: nfs-install nfs-install: