mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-02 22:50:20 +00:00
AppImage build: fix library issues
* Use correct cmake flag to not build static libraries * Force correct relative RPATH in installed executables
This commit is contained in:
parent
7a74a491b1
commit
c56edf41fe
@ -88,8 +88,9 @@ cd build.appimage
|
|||||||
cmake -DWERROR=1 -DBUILD_DOC=1 -DCMAKE_BUILD_TYPE=Release \
|
cmake -DWERROR=1 -DBUILD_DOC=1 -DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_DOC_DIST=1 -DINSTALL_MANUAL=1 \
|
-DBUILD_DOC_DIST=1 -DINSTALL_MANUAL=1 \
|
||||||
-DREQUIRE_CRYPTO_GNUTLS=1 -DUSE_IMPLICIT_CRYPTO=0 \
|
-DREQUIRE_CRYPTO_GNUTLS=1 -DUSE_IMPLICIT_CRYPTO=0 \
|
||||||
-DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBRARIES=0 \
|
-DSHOW_FAILED_TEST_OUTPUT=1 -DBUILD_STATIC_LIBS=0 \
|
||||||
"$CUSTOM_CONFIGURE" ..
|
-DCMAKE_INSTALL_RPATH='$ORIGIN/../lib' \
|
||||||
|
${CUSTOM_CONFIGURE+"$CUSTOM_CONFIGURE"} ..
|
||||||
|
|
||||||
# Build!
|
# Build!
|
||||||
cmake --build . -j$(nproc)
|
cmake --build . -j$(nproc)
|
||||||
|
Loading…
Reference in New Issue
Block a user