summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch')
-rw-r--r--meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch b/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch
new file mode 100644
index 0000000000..528864cc93
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap/0001-Install-python-modules-to-correct-library-dir.patch
@@ -0,0 +1,36 @@
1From 2ada22f05460223924efe54080cb4419e2b4c276 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 24 Feb 2017 17:53:02 +0200
4Subject: [PATCH] Install python modules to correct library dir.
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 python/Makefile.am | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/python/Makefile.am b/python/Makefile.am
13index a254480f9..efe9f3c01 100644
14--- a/python/Makefile.am
15+++ b/python/Makefile.am
16@@ -47,7 +47,7 @@ install-exec-local:
17 if HAVE_PYTHON2_PROBES
18 (cd $(srcdir); CFLAGS="$(AM_CPPFLAGS)" $(PYTHON) setup.py build \
19 --build-base $(shell readlink -f $(builddir))/py2build \
20- install --prefix $(DESTDIR)$(prefix) \
21+ install --prefix $(DESTDIR)$(prefix) --install-lib=$(DESTDIR)${pythondir} \
22 --single-version-externally-managed \
23 --record $(shell readlink -f $(builddir))/py2build/install_files.txt \
24 --verbose)
25@@ -55,7 +55,7 @@ endif
26 if HAVE_PYTHON3_PROBES
27 (cd $(srcdir); CFLAGS="$(AM_CPPFLAGS)" $(PYTHON3) setup.py build \
28 --build-base $(shell readlink -f $(builddir))/py3build \
29- install --prefix $(DESTDIR)$(prefix) \
30+ install --prefix $(DESTDIR)$(prefix) --install-lib=$(DESTDIR)${python3dir} \
31 --single-version-externally-managed \
32 --record $(shell readlink -f $(builddir))/py3build/install_files.txt \
33 --verbose)
34--
352.11.0
36