]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
libxl: fix creation of pkgconf install dir
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 23 Nov 2016 16:56:39 +0000 (16:56 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 23 Nov 2016 17:07:07 +0000 (17:07 +0000)
When PKG_INSTALLDIR was introduced the creation of the previous pkgconf install
directory was not changed. Fix this by correctly using PKG_INSTALLDIR for the
directory creation in libxl Makefile.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/Makefile

index f5053a08c3b9565eabaafa97aa36615ce89cb9dd..ef017859ba0d6b0ac0fa36466e64b7cc6f9a1cf3 100644 (file)
@@ -308,7 +308,7 @@ install: all
        $(INSTALL_DIR) $(DESTDIR)$(includedir)
        $(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR)
        $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN)
-       $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/pkgconfig
+       $(INSTALL_DIR) $(DESTDIR)$(PKG_INSTALLDIR)
        $(INSTALL_PROG) xl $(DESTDIR)$(sbindir)
        $(INSTALL_PROG) libxl-save-helper $(DESTDIR)$(LIBEXEC_BIN)
        $(INSTALL_SHLIB) libxenlight.so.$(MAJOR).$(MINOR) $(DESTDIR)$(libdir)