strip host binaries in mingw-w64-qt5-base*

This commit is contained in:
Martchus 2016-03-24 17:31:54 +01:00
parent bc48a90588
commit 26d05b5218
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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