1 From cb7f8a6c3538ee3086d15c4d2c9f2a2f4f38db3b Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Wed, 23 May 2018 21:20:35 +0300
4 Subject: [PATCH] Add a possibility to specify where python modules are
7 Upstream-Status: Inappropriate [oe-core specific to solve multilib use case]
8 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/Makefile b/Makefile
14 index 2f8d2fa0..c760e5ae 100644
17 @@ -985,7 +985,7 @@ endif
18 ifeq ($(PYTHON_BINDINGS),1)
19 install_python: libbtrfsutil_python
20 $(Q)cd libbtrfsutil/python; \
21 - $(PYTHON) setup.py install --skip-build $(if $(DESTDIR),--root $(DESTDIR)) --prefix $(prefix)
22 + $(PYTHON) setup.py install --skip-build $(if $(DESTDIR),--root $(DESTDIR)) --prefix $(prefix) --install-lib=$(PYTHON_SITEPACKAGES_DIR)
24 .PHONY: install_python