aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-09-27 15:32:31 +0200
committerJay Berkenbilt <ejb@ql.org>2022-09-27 15:32:31 +0200
commitc56edf41fe5568d8b56edc8e33e65eaddaa588d2 (patch)
treece59e6ec48118c82029929b0886d6acec50d2085
parent7a74a491b184125d2e5d2fb6e7604cc8506ea6de (diff)
downloadqpdf-c56edf41fe5568d8b56edc8e33e65eaddaa588d2.tar.zst
AppImage build: fix library issues
* Use correct cmake flag to not build static libraries * Force correct relative RPATH in installed executables
-rwxr-xr-xappimage/build-appimage5
1 files changed, 3 insertions, 2 deletions
diff --git a/appimage/build-appimage b/appimage/build-appimage
index 1c5969fc..db85375d 100755
--- a/appimage/build-appimage
+++ b/appimage/build-appimage
@@ -88,8 +88,9 @@ cd build.appimage
cmake -DWERROR=1 -DBUILD_DOC=1 -DCMAKE_BUILD_TYPE=Release \
-DBUILD_DOC_DIST=1 -DINSTALL_MANUAL=1 \
-DREQUIRE_CRYPTO_GNUTLS=1 -DUSE_IMPLICIT_CRYPTO=0 \
- -DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBRARIES=0 \
- "$CUSTOM_CONFIGURE" ..
+ -DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBS=0 \
+ -DCMAKE_INSTALL_RPATH='$ORIGIN/../lib' \
+ ${CUSTOM_CONFIGURE+"$CUSTOM_CONFIGURE"} ..
# Build!
cmake --build . -j$(nproc)