diff options
Diffstat (limited to 'python/pycryptopp/pycryptopp.SlackBuild')
-rw-r--r-- | python/pycryptopp/pycryptopp.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/pycryptopp/pycryptopp.SlackBuild b/python/pycryptopp/pycryptopp.SlackBuild index d7a936377b0bd..70ae017884f5d 100644 --- a/python/pycryptopp/pycryptopp.SlackBuild +++ b/python/pycryptopp/pycryptopp.SlackBuild @@ -76,6 +76,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +# thanks arch maintainers +patch -p1 -i $CWD/pycryptopp-0.7.1-abi-change.patch chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -83,6 +85,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1 + +CFLAGS="$SLKCFLAGS -fno-strict-aliasing" \ +CXXFLAGS="$SLKCFLAGS -fno-strict-aliasing" \ +python setup.py build python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |