Commit c56edf41fe5568d8b56edc8e33e65eaddaa588d2
1 parent
7a74a491
AppImage build: fix library issues
* Use correct cmake flag to not build static libraries * Force correct relative RPATH in installed executables
Showing
1 changed file
with
3 additions
and
2 deletions
appimage/build-appimage
| @@ -88,8 +88,9 @@ cd build.appimage | @@ -88,8 +88,9 @@ cd build.appimage | ||
| 88 | cmake -DWERROR=1 -DBUILD_DOC=1 -DCMAKE_BUILD_TYPE=Release \ | 88 | cmake -DWERROR=1 -DBUILD_DOC=1 -DCMAKE_BUILD_TYPE=Release \ |
| 89 | -DBUILD_DOC_DIST=1 -DINSTALL_MANUAL=1 \ | 89 | -DBUILD_DOC_DIST=1 -DINSTALL_MANUAL=1 \ |
| 90 | -DREQUIRE_CRYPTO_GNUTLS=1 -DUSE_IMPLICIT_CRYPTO=0 \ | 90 | -DREQUIRE_CRYPTO_GNUTLS=1 -DUSE_IMPLICIT_CRYPTO=0 \ |
| 91 | - -DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBRARIES=0 \ | ||
| 92 | - "$CUSTOM_CONFIGURE" .. | 91 | + -DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBS=0 \ |
| 92 | + -DCMAKE_INSTALL_RPATH='$ORIGIN/../lib' \ | ||
| 93 | + ${CUSTOM_CONFIGURE+"$CUSTOM_CONFIGURE"} .. | ||
| 93 | 94 | ||
| 94 | # Build! | 95 | # Build! |
| 95 | cmake --build . -j$(nproc) | 96 | cmake --build . -j$(nproc) |