diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,7 +61,10 @@ install_std install_dbg: build oh-fixperms -d $(destdir) set -e; \ lib="$$(ls $(destdir)/usr/lib/$(arch)/libwolfssl.so.$(abi_ver).*)"; \ - mv "$${lib}" "$${lib}.$(variant)" + mv "$${lib}" "$${lib}.$(variant)"; \ + rm -f $(destdir)/usr/lib/$(arch)/libwolfssl.so.$(abi_ver); \ + ln -sf "$${lib##*/}.$(variant)" \ + $(destdir)/usr/lib/$(arch)/libwolfssl.so.$(abi_ver).$(variant) set -e; if [ x"$(variant)" != x'dbg' ]; then \ oh-strip -d $(destdir); \ OPK_PACKAGES="\ |