Keep tools in mingw-w64-glib2
This commit is contained in:
parent
3877e7bca7
commit
24c478fc90
|
@ -71,7 +71,7 @@ package() {
|
|||
make DESTDIR="$pkgdir" install
|
||||
make -C "$srcdir/glib-$pkgver/build-${_arch}-static" DESTDIR="$pkgdir/static" install
|
||||
mv "$pkgdir/static/usr/${_arch}/lib/"*.a "$pkgdir/usr/${_arch}/lib/"
|
||||
find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.def' | xargs rm
|
||||
find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \;
|
||||
find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \;
|
||||
find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g
|
||||
rm "$pkgdir/usr/${_arch}/bin/"{glib-{gettextize,mkenums},gdbus-codegen}
|
||||
|
|
Loading…
Reference in New Issue