1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(build): copy OpenSSL libs to AppDir

This commit is contained in:
antony-jr 2019-07-13 23:13:25 +05:30
parent 38e8e6927a
commit 7153c1f2bf
No known key found for this signature in database
GPG Key ID: 13089CB6F3D41A27

View File

@ -191,6 +191,12 @@ eval "$LDQT_BIN $QTOX_DESKTOP_FILE -bundle-non-qt-libs -extra-plugins=libsnore-q
mv "$QTOX_APP_DIR"/usr/* "$QTOX_APP_DIR/"
rm -rf "$QTOX_APP_DIR/usr"
# copy OpenSSL libs to AppImage
# Warning: This is hard coded to debain:stretch.
cp /usr/lib/x86_64-linux-gnu/libssl.so* "$QTOX_APP_DIR/local/lib/"
cp /usr/lib/x86_64-linux-gnu/libcrypt.so* "$QTOX_APP_DIR/local/lib/"
cp /usr/lib/x86_64-linux-gnu/libcrypto.so* "$QTOX_APP_DIR/local/lib"
# this is important , aitool automatically uses the same filename in .zsync meta file.
# if this name does not match with the one we upload , the update always fails.
if [ -n "$TRAVIS_TAG" ]