summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index 7b9d931..03d5287 100755
--- a/build
+++ b/build
@@ -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="\