1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
eclass/distutils-r1.eclass | 6 ++++-- |
4 |
1 file changed, 4 insertions(+), 2 deletions(-) |
5 |
|
6 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
7 |
index 87091951fafa..749809378c93 100644 |
8 |
--- a/eclass/distutils-r1.eclass |
9 |
+++ b/eclass/distutils-r1.eclass |
10 |
@@ -775,8 +775,10 @@ _distutils-r1_wrap_scripts() { |
11 |
local basename=${f##*/} |
12 |
|
13 |
debug-print "${FUNCNAME}: installing wrapper at ${bindir}/${basename}" |
14 |
- _python_ln_rel "${ED%/}"/usr/lib/python-exec/python-exec2 \ |
15 |
- "${D%/}${bindir}/${basename}" || die |
16 |
+ local dosym=dosym |
17 |
+ [[ ${EAPI} == [67] ]] && dosym=dosym8 |
18 |
+ "${dosym}" -r /usr/lib/python-exec/python-exec2 \ |
19 |
+ "${bindir#${EPREFIX}}/${basename}" |
20 |
done |
21 |
|
22 |
for f in "${non_python_files[@]}"; do |
23 |
-- |
24 |
2.32.0 |