diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2020-08-05 12:56:08 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-08-14 14:24:51 +0200 |
commit | 89ca1131647c3b20ea5a172e65eba0c29c003a5a (patch) | |
tree | 76baf6692085d62ae4c25deab054239867b6efca /rules/python3-ply.make | |
parent | d5c17b7e63bda3628533962122409805a2095b7c (diff) | |
download | ptxdist-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/python3-ply.make')
-rw-r--r-- | rules/python3-ply.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/python3-ply.make b/rules/python3-ply.make index e269a3388..5e2aa6aa0 100644 --- a/rules/python3-ply.make +++ b/rules/python3-ply.make @@ -43,7 +43,7 @@ $(STATEDIR)/python3-ply.targetinstall: @$(call install_fixup, python3-ply, DESCRIPTION, missing) @$(call install_glob, python3-ply, 0, 0, -, \ - /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/ply,, *.py) + $(PYTHON3_SITEPACKAGES)/ply,, *.py) @$(call install_finish, python3-ply) |