Skip to contentSkip to conversation

libxl: fix creation of pkgconf install dir

PATCH In review Roger Pau Monne 2 participants 2 messages Nov 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: fix creation of pkgconf install dir

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.

---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
---
Not sure whether this should be considered for 4.8. IMHO, it's a harmless fix for Linux (where PKG_INSTALLDIR is already $(SHAREDIR)/pkgconfig), but it might be more important for FreeBSD.

---
 tools/libxl/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/Makefile +1 -1
index f5053a0..ef01785 100644
@@ -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)
Signature · 7 lines
2.9.3 (Apple Git-75)


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel