summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-04 18:08:49 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-05 10:17:33 +0200
commit5e9f1dd4e0f38931155339ab8389d500004f0fde (patch)
treefd435eccfee44c2d5ba9eb843772a69de98c2bb3 /pkg/pyinst
parent0ab8bda086ec2953a644265a6a0d7af400b37a7d (diff)
[bug] add missing libs to make the bundle work on latest ubuntu
- Resolves: #8876
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 760f798..25a7ef3 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -25,6 +25,9 @@ bundle_gpg:
# TODO build it in a docker container!
mkdir -p $(DIST_VERSION)/apps/mail
cp /usr/bin/gpg $(DIST_VERSION)/apps/mail/
+ # workaround for missing libreadline.so.6 in fresh ubuntu
+ patchelf --set-rpath '.' $(DIST_VERSION)/apps/mail/gpg
+ cp /lib/x86_64-linux-gnu/libusb-0.1.so.4 $(DIST_VERSION)/lib
bundle_linux_helpers:
mkdir -p $(DIST_VERSION)/apps/helpers