From a4609318b6fa594f970673d77397f1ca74b4120a Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Mon, 4 Oct 2021 20:01:53 +0200 Subject: [PATCH] py-smbus/Module.mk: Install with PREFIX defined If we are building to a defined destdir py-smbus is going to ignore this and try install to the actual root. This breaks packaging setups as the install section would fail. Signed-off-by: Morten Linderud Signed-off-by: Jean Delvare --- py-smbus/Module.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-smbus/Module.mk b/py-smbus/Module.mk index 04ceb64..1e2ded1 100644 --- a/py-smbus/Module.mk +++ b/py-smbus/Module.mk @@ -22,7 +22,7 @@ clean-python: rm -rf py-smbus/build install-python: - $(DISTUTILS) install + $(DISTUTILS) install --prefix="$(PREFIX)" all: all-python