summaryrefslogtreecommitdiffstats
path: root/rules/python3.in
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-06-15 11:33:03 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-06-21 10:14:53 +0200
commit9ba42583728954a1e69bd4f318ce92ca32447d84 (patch)
treeb37623fa73ef2715444d17b9329fa94c5645f797 /rules/python3.in
parentab03ea7be09821e8bfcc573f3eb003c51f4f6c29 (diff)
downloadptxdist-9ba42583728954a1e69bd4f318ce92ca32447d84.tar.gz
ptxdist-9ba42583728954a1e69bd4f318ce92ca32447d84.tar.xz
python3: fix PYTHON3_SYMLINK option
If the PYTHON3_SYMLINK option is enabled, symlink python3 to /usr/bin/python, as documented. This conflicts with the PYTHON_SYMLINK option. Always install the /usr/bin/python3 symlink. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python3.in')
-rw-r--r--rules/python3.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/python3.in b/rules/python3.in
index 33f5c5a7b..49f590dc2 100644
--- a/rules/python3.in
+++ b/rules/python3.in
@@ -56,9 +56,10 @@ config PYTHON3_SSL
bool "ssl bindings"
config PYTHON3_SYMLINK
+ depends on !PYTHON_SYMLINK
bool
prompt "install symbolic link /usr/bin/python"
- default y
+ default y if !PYTHON_SYMLINK
config PYTHON3_LIBTK
bool