Commit 37f7f57dc58786edfcdfd35d41bad71615e0711b
1 parent
08fb5834
Don't hard-code soname in build-appimage
Showing
1 changed file
with
1 additions
and
1 deletions
appimage/build-appimage
| @@ -156,7 +156,7 @@ unset QTDIR; unset QT_PLUGIN_PATH | @@ -156,7 +156,7 @@ unset QTDIR; unset QT_PLUGIN_PATH | ||
| 156 | # Since cmake strips runpath information for executables and we are | 156 | # Since cmake strips runpath information for executables and we are |
| 157 | # installing with DESTDIR, we need to set LD_LIBRARY_PATH or else ldd | 157 | # installing with DESTDIR, we need to set LD_LIBRARY_PATH or else ldd |
| 158 | # will fail on the resulting executables | 158 | # will fail on the resulting executables |
| 159 | -export LD_LIBRARY_PATH=$(dirname $(find $appdir -type l -name libqpdf.so.28)) | 159 | +export LD_LIBRARY_PATH=$(dirname $(find $appdir -type l -name 'libqpdf.so.*')) |
| 160 | 160 | ||
| 161 | # Let 'linuxdeployqt' do its first stage of work: | 161 | # Let 'linuxdeployqt' do its first stage of work: |
| 162 | ./linuxdeployqt*.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs | 162 | ./linuxdeployqt*.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs |