diff options
Diffstat (limited to 'python/pyicu/pyicu.SlackBuild')
-rw-r--r-- | python/pyicu/pyicu.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/pyicu/pyicu.SlackBuild b/python/pyicu/pyicu.SlackBuild index f55f1c17dd..d9f91aeb08 100644 --- a/python/pyicu/pyicu.SlackBuild +++ b/python/pyicu/pyicu.SlackBuild @@ -59,6 +59,11 @@ find -L . \ python setup.py install --root=$PKG +if [ "${PYTHON3:-no}" = "yes" ]; then + rm -rf build + python3 setup.py install --root=$PKG +fi + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |