diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-08-30 12:00:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-08-30 12:00:20 +0700 |
commit | 0ebc2b08957d045054bfa793638dc8caf05265f9 (patch) | |
tree | 75ffa57e9d911d1f7e5349a7dd98d7d3914ed35c /python/msgpack-python/msgpack-python.SlackBuild | |
parent | 43474a5a04db8f1a52d237e472822c319e78a08c (diff) |
python/msgpack-python: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/msgpack-python/msgpack-python.SlackBuild')
-rw-r--r-- | python/msgpack-python/msgpack-python.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/msgpack-python/msgpack-python.SlackBuild b/python/msgpack-python/msgpack-python.SlackBuild index dd2344fad0..ff48bcd15d 100644 --- a/python/msgpack-python/msgpack-python.SlackBuild +++ b/python/msgpack-python/msgpack-python.SlackBuild @@ -64,7 +64,8 @@ chmod -R a-st,u+rwX,go-w+rX . python setup.py install --root=$PKG python3 setup.py install --root=$PKG -find $PKG/usr/lib*/python* -name '*.so' | xargs strip --strip-unneeded +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog.rst COPYING DEVELOP.md README.md \ |