summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorten Linderud <morten@linderud.pw>2021-10-04 20:01:53 +0200
committerJean Delvare <jdelvare@suse.de>2021-10-04 20:01:53 +0200
commita4609318b6fa594f970673d77397f1ca74b4120a (patch)
treeeeb4bd1690b38754bca3d22c383292e6a6b8407e
parenteacb6a431df14918ee23714bfc87af51e9430af3 (diff)
downloadi2c-tools-git-a4609318b6fa594f970673d77397f1ca74b4120a.tar.gz
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 <morten@linderud.pw> Signed-off-by: Jean Delvare <jdelvare@suse.de>
-rw-r--r--py-smbus/Module.mk2
1 files changed, 1 insertions, 1 deletions
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