diff options
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch')
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch new file mode 100644 index 0000000000..5846f04d1a --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Add-a-possibility-to-specify-where-python-modules-ar.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From d3adfc21c9cc264bd191722f102963cbc4794259 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 | ||
5 | installed | ||
6 | |||
7 | Upstream-Status: Inappropriate [oe-core specific to solve multilib use case] | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | Makefile | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Makefile b/Makefile | ||
14 | index 1697794c..8ab38818 100644 | ||
15 | --- a/Makefile | ||
16 | +++ b/Makefile | ||
17 | @@ -651,7 +651,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) | ||
23 | |||
24 | .PHONY: install_python | ||
25 | endif | ||