diff options
Diffstat (limited to 'python/bsddb3/bsddb3.SlackBuild')
-rw-r--r-- | python/bsddb3/bsddb3.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/bsddb3/bsddb3.SlackBuild b/python/bsddb3/bsddb3.SlackBuild index 4c97228294945..320a815bba254 100644 --- a/python/bsddb3/bsddb3.SlackBuild +++ b/python/bsddb3/bsddb3.SlackBuild @@ -71,6 +71,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 |