diff options
Diffstat (limited to 'python/cssselect/cssselect.SlackBuild')
-rw-r--r-- | python/cssselect/cssselect.SlackBuild | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/python/cssselect/cssselect.SlackBuild b/python/cssselect/cssselect.SlackBuild index eefb6cd691270..710eb6828da7d 100644 --- a/python/cssselect/cssselect.SlackBuild +++ b/python/cssselect/cssselect.SlackBuild @@ -66,10 +66,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG - -if [ "${PYTHON3:-no}" == "yes" ]; then - python3 setup.py install --root=$PKG -fi +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |