wok diff stfl/receipt @ rev 21776
linld: fix strdup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 12:50:44 2019 +0200 (2019-07-11) |
parents | c881bf75f1ab |
children | ad8b9ff412d2 |
line diff
1.1 --- a/stfl/receipt Sat Sep 26 16:09:04 2015 +0200 1.2 +++ b/stfl/receipt Thu Jul 11 12:50:44 2019 +0200 1.3 @@ -27,4 +27,7 @@ 1.4 { 1.5 mkdir -p $fs/usr/lib 1.6 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.7 + lib=$(cd $fs/usr/lib ; echo *.so.*.*) 1.8 + [ -e $fs/usr/lib/${lib%.*} ] || 1.9 + ln -s $lib $fs/usr/lib/${lib%.*} 1.10 }