[PATCH] python: fix build path issue to improve reproducibility
Hongxu Jia
hongxu.jia at windriver.com
Thu Feb 1 07:08:16 CET 2018
* lang/python/Makefile.am: Get the "--root" directory supplied
to the "install" command, and use it as a prefix to strip off
the purported filename encoded in bytecode files.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
lang/python/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 43b5d1e..2470efd 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -93,7 +93,8 @@ install-exec-local:
build \
--build-base="$$(basename "$${PYTHON}")-gpg" \
install \
- --prefix "$(DESTDIR)$(prefix)" \
+ --root "${DESTDIR}" \
+ --prefix "$(prefix)" \
--verbose ; \
done
--
1.8.3.1
More information about the Gnupg-devel
mailing list