wok-6.x diff mingw32-gcc/receipt @ rev 19985

Up zstd (1.2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 01 15:39:55 2017 +0200 (2017-07-01)
parents 9e01bc6321ea
children afae00265386
line diff
     1.1 --- a/mingw32-gcc/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/mingw32-gcc/receipt	Sat Jul 01 15:39:55 2017 +0200
     1.3 @@ -84,8 +84,8 @@
     1.4  post_install()
     1.5  {
     1.6  	# Archives get stripped during packaging; need to run ranlib
     1.7 -	find "$1/usr/lib/gcc/$MINGW32_ID/" -name *.a -exec $MINGW32_ID-ranlib {} \;
     1.8 -	find "$1/usr/$MINGW32_ID/lib/" -name *.a -exec $MINGW32_ID-ranlib {} \;
     1.9 +	chroot "$1/" find "/usr/lib/gcc/$MINGW32_ID/" -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.10 +	chroot "$1/" find "/usr/$MINGW32_ID/lib/" -name *.a -exec $MINGW32_ID-ranlib {} \;
    1.11  }
    1.12  
    1.13  # Rules to clean the package