| From 89f9b87904bd312b817ffaa7d83abfd5e84d723d Mon Sep 17 00:00:00 2001 |
| From: Mark Asselstine <mark.asselstine@windriver.com> |
| Date: Fri, 8 Sep 2017 15:40:49 -0400 |
| Subject: [PATCH] lib/Makefile: overwrite install-lib, to allow multiarch |
| |
| I am not sure why Yocto installs python modules in arch specific |
| /usr/libXX directories but it does. Allow the recipe to pass this via |
| INSTALL_LIB. |
| |
| Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| --- |
| lib/Makefile | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/lib/Makefile b/lib/Makefile |
| index b1bb057..06f5c5d 100644 |
| --- a/lib/Makefile |
| +++ b/lib/Makefile |
| @@ -56,7 +56,7 @@ install: lib-c lib-py crit/crit lib/c/criu.pc.in |
| $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' -e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc |
| $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig |
| $(E) " INSTALL " crit |
| - $(Q) $(PYTHON_BIN) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES) |
| + $(Q) $(PYTHON_BIN) scripts/crit-setup.py install --prefix=$(DESTDIR)$(PREFIX) --record $(CRIT_SETUP_FILES) --install-lib=$(DESTDIR)$(INSTALL_LIB) |
| .PHONY: install |
| |
| uninstall: |
| -- |
| 2.7.4 |
| |