# HG changeset patch # User Pascal Bellard # Date 1554539622 -7200 # Node ID bbb977124ce1e46c0033927db5474f0c2d0456a7 # Parent 7e450318d2cc98236a05ea96b1a54196796cbf0b libaio: fix genpkg_rules diff -r 7e450318d2cc -r bbb977124ce1 libaio/receipt --- a/libaio/receipt Sat Apr 06 09:20:09 2019 +0100 +++ b/libaio/receipt Sat Apr 06 10:33:42 2019 +0200 @@ -26,5 +26,11 @@ { mkdir -p $fs/usr/lib install -D -m 755 $src/src/libaio.so.* $fs/usr/lib/ - ln -sf $(cd $src/src ; ls libaio.so.*) $fs/usr/lib/libaio.so + lib=$(cd $src/src; ls libaio.so.*) + ln=$lib + while true; do + ln=${ln%.*} + ln -sf $lib $fs/usr/lib/$ln + [ $ln = libaio.so ] && break + done }