summaryrefslogtreecommitdiffstats
path: root/rules/gst-python1.make
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2020-08-05 12:56:08 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-08-14 14:24:51 +0200
commit89ca1131647c3b20ea5a172e65eba0c29c003a5a (patch)
tree76baf6692085d62ae4c25deab054239867b6efca /rules/gst-python1.make
parentd5c17b7e63bda3628533962122409805a2095b7c (diff)
downloadptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.gz
ptxdist-89ca1131647c3b20ea5a172e65eba0c29c003a5a.tar.xz
python3: use PYTHON3_SITEPACKAGES variable
python3.make helpfully defines the PYTHON3_SITEPACKAGES variable. Use it in all places that manually construct the site-packages directory. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Message-Id: <20200805105608.32371-1-p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/gst-python1.make')
-rw-r--r--rules/gst-python1.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/gst-python1.make b/rules/gst-python1.make
index 988dacffc..f5891266e 100644
--- a/rules/gst-python1.make
+++ b/rules/gst-python1.make
@@ -61,7 +61,7 @@ $(STATEDIR)/gst-python1.targetinstall:
@$(call install_fixup, gst-python1,DESCRIPTION,missing)
@$(call install_glob, gst-python1, 0, 0, -, \
- /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/gi,, *.py *.la)
+ $(PYTHON3_SITEPACKAGES)/gi,, *.py *.la)
@$(call install_lib, gst-python1, 0, 0, 0644, gstreamer-1.0/libgstpython*)