From 8c850aa109c42d0c193bccc7af45dbc2689b23f6 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 30 Jan 2018 15:28:49 +0800
Subject: [PATCH] Correctly install python modules

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>

Rebase to 1.9.0

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

Rebase to 1.10.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 lang/python/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 68b98e8..bbb9111 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -97,6 +97,7 @@ install-exec-local:
 	  --build-base="$$(basename "$${PYTHON}")-gpg" \
 	  install \
 	  --prefix "$(DESTDIR)$(prefix)" \
+	  --install-lib=$(DESTDIR)${pythondir} \
 	  --verbose ; \
 	done
 
