From 26d05b5218e5bf1d7895200271c11f0c6557580d Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 24 Mar 2016 17:31:54 +0100 Subject: [PATCH] strip host binaries in mingw-w64-qt5-base* --- qt5-base/mingw-w64-opengl/PKGBUILD | 3 ++- qt5-base/mingw-w64-static/PKGBUILD | 3 ++- qt5-base/mingw-w64/PKGBUILD | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/qt5-base/mingw-w64-opengl/PKGBUILD b/qt5-base/mingw-w64-opengl/PKGBUILD index 42c166f4..560460a7 100644 --- a/qt5-base/mingw-w64-opengl/PKGBUILD +++ b/qt5-base/mingw-w64-opengl/PKGBUILD @@ -324,8 +324,9 @@ package() { # remove doc rm -rf "${pkgdir}/usr/${_arch}/share/doc" - # And finaly, strip the binaries + # strip the binaries if ! isStatic; then + strip --strip-all "${pkgdir}/usr/${_arch}/lib/qt/bin/"[!.pl] strip --strip-unneeded "${pkgdir}/usr/${_arch}/lib/libQt5Bootstrap"{,DBus}.so.${pkgver} fi diff --git a/qt5-base/mingw-w64-static/PKGBUILD b/qt5-base/mingw-w64-static/PKGBUILD index 8cc0b2f2..509ad5cc 100644 --- a/qt5-base/mingw-w64-static/PKGBUILD +++ b/qt5-base/mingw-w64-static/PKGBUILD @@ -324,8 +324,9 @@ package() { # remove doc rm -rf "${pkgdir}/usr/${_arch}/share/doc" - # And finaly, strip the binaries + # strip the binaries if ! isStatic; then + strip --strip-all "${pkgdir}/usr/${_arch}/lib/qt/bin/"[!.pl] strip --strip-unneeded "${pkgdir}/usr/${_arch}/lib/libQt5Bootstrap"{,DBus}.so.${pkgver} fi diff --git a/qt5-base/mingw-w64/PKGBUILD b/qt5-base/mingw-w64/PKGBUILD index 857e50d7..b7ea3dd3 100644 --- a/qt5-base/mingw-w64/PKGBUILD +++ b/qt5-base/mingw-w64/PKGBUILD @@ -324,8 +324,9 @@ package() { # remove doc rm -rf "${pkgdir}/usr/${_arch}/share/doc" - # And finaly, strip the binaries + # strip the binaries if ! isStatic; then + strip --strip-all "${pkgdir}/usr/${_arch}/lib/qt/bin/"[!.pl] strip --strip-unneeded "${pkgdir}/usr/${_arch}/lib/libQt5Bootstrap"{,DBus}.so.${pkgver} fi