wok rev 21196
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 10:33:42 2019 +0200 (2019-04-06) |
parents | 7e450318d2cc |
children | 50bf346f8ec6 |
files | libaio/receipt |
line diff
1.1 --- a/libaio/receipt Sat Apr 06 09:20:09 2019 +0100 1.2 +++ b/libaio/receipt Sat Apr 06 10:33:42 2019 +0200 1.3 @@ -26,5 +26,11 @@ 1.4 { 1.5 mkdir -p $fs/usr/lib 1.6 install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/ 1.7 - ln -sf $(cd $src/src ; ls libaio.so.*) $fs/usr/lib/libaio.so 1.8 + lib=$(cd $src/src; ls libaio.so.*) 1.9 + ln=$lib 1.10 + while true; do 1.11 + ln=${ln%.*} 1.12 + ln -sf $lib $fs/usr/lib/$ln 1.13 + [ $ln = libaio.so ] && break 1.14 + done 1.15 }