diff options
-rw-r--r-- | libraries/SlowAES/SlowAES.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/SlowAES/SlowAES.SlackBuild b/libraries/SlowAES/SlowAES.SlackBuild index 4bf3baae56..3fc341db7a 100644 --- a/libraries/SlowAES/SlowAES.SlackBuild +++ b/libraries/SlowAES/SlowAES.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for SlowAES -# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -72,6 +72,10 @@ find -L . \ python setup.py install --root=$PKG +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 |