]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
install pkgconfig files into libdir
authorOlaf Hering <olaf@aepfle.de>
Mon, 25 Mar 2019 16:00:10 +0000 (17:00 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 13 May 2019 14:30:16 +0000 (15:30 +0100)
Most pkgconfig files contain a Libs: variable, which is either /usr/lib
or /usr/lib64. If a 32bit and a 64bit variant of xen libraries is
installed, the last one wins. As a result compiling for the other
bitsize will fail.

Instead of sharedir use libdir as install target. This matches both the
documentation and the expected result.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Wei Liu <wei.liu2@citrix.com>
config/Paths.mk.in

index 8a518d5a5d586f44298e8bbf91a53ae9e4a03874..dc9d0c035393c5c3afa26fa03b2338f40d9f1320 100644 (file)
@@ -58,4 +58,4 @@ XENFIRMWAREDIR           := @XENFIRMWAREDIR@
 XEN_CONFIG_DIR           := @XEN_CONFIG_DIR@
 XEN_SCRIPT_DIR           := @XEN_SCRIPT_DIR@
 
-PKG_INSTALLDIR           := ${SHAREDIR}/pkgconfig
+PKG_INSTALLDIR           := ${libdir}/pkgconfig