summaryrefslogtreecommitdiffstats
path: root/libwolfssl.24-dbg.pkg/postinst
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-26 11:59:05 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-26 11:59:05 (EST)
commit92b1845c61b59659357b510ab79e67979645c88a (patch)
tree80472c67c28477d9d7c43a34770c9d186bd653b7 /libwolfssl.24-dbg.pkg/postinst
parent6e4dabe91b570649cc11fdfc96d0e3a1b07c61cd (diff)
ABI version actually didn't change
I misunderstood the effect of libtool's -version-info flag.
Diffstat (limited to 'libwolfssl.24-dbg.pkg/postinst')
-rw-r--r--libwolfssl.24-dbg.pkg/postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/libwolfssl.24-dbg.pkg/postinst b/libwolfssl.24-dbg.pkg/postinst
new file mode 100644
index 0000000..1b594c2
--- /dev/null
+++ b/libwolfssl.24-dbg.pkg/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+libfile="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24.1.0"
+liblink="/usr/lib/$(cat /etc/proteanos_arch)/libwolfssl.so.24"
+
+if [ x"${1}" = x'configure' ]; then
+ update-alternatives --install "${libfile}" "${libfile##*/}" \
+ "${libfile}.dbg" 20
+ update-alternatives --install "${liblink}" "${liblink##*/}" \
+ "${liblink}.dbg" 20
+fi