summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-09-11 12:56:07 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-09-11 12:56:07 +0200
commitb50d3630e72fd6366b3ee9e786bb7f87d3387a81 (patch)
tree8507887234f512b7a6be344521ccf36745f7d02c
parent28b371bcb880e52c582574efcd69969dd775b1c7 (diff)
Override snap prime step
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--snap/snapcraft.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 40d543e..73e6412 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -158,3 +158,7 @@ parts:
mkdir -p "$SNAPCRAFT_PART_INSTALL/usr/share/appdata"
export INSTALL_DIR="$SNAPCRAFT_PART_INSTALL/usr/"
make install
+ override-prime: |
+ snapcraftctl prime
+ rm -f usr/lib/x86_64-linux-gnu/libc_malloc_debug.so
+ ln -s libc_malloc_debug.so.0 usr/lib/x86_64-linux-gnu/libc_malloc_debug.so