wok diff mingw32-gcc/receipt @ rev 22876

web-applications: localize wikipedia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 21 18:28:59 2020 +0100 (2020-02-21)
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	Fri Feb 21 18:28:59 2020 +0100
     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