aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-09 23:33:18 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-09 23:33:29 +0200
commit37f7f57dc58786edfcdfd35d41bad71615e0711b (patch)
treea677d7feebfd0abb3645092ea5240ae7265acf95
parent08fb583449431cea2e19250cd6c9f8155b6438d7 (diff)
downloadqpdf-37f7f57dc58786edfcdfd35d41bad71615e0711b.tar.zst
Don't hard-code soname in build-appimage
-rwxr-xr-xappimage/build-appimage2
1 files changed, 1 insertions, 1 deletions
diff --git a/appimage/build-appimage b/appimage/build-appimage
index 54fc2511..1c5969fc 100755
--- a/appimage/build-appimage
+++ b/appimage/build-appimage
@@ -156,7 +156,7 @@ unset QTDIR; unset QT_PLUGIN_PATH
# Since cmake strips runpath information for executables and we are
# installing with DESTDIR, we need to set LD_LIBRARY_PATH or else ldd
# will fail on the resulting executables
-export LD_LIBRARY_PATH=$(dirname $(find $appdir -type l -name libqpdf.so.28))
+export LD_LIBRARY_PATH=$(dirname $(find $appdir -type l -name 'libqpdf.so.*'))
# Let 'linuxdeployqt' do its first stage of work:
./linuxdeployqt*.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs