fix flatpak crash on start issue (#13808)

fix flatpak crash issues
This commit is contained in:
SoftFever
2026-05-23 16:19:26 +08:00
committed by GitHub
parent 27d7d5602c
commit f71a79550b
2 changed files with 9 additions and 6 deletions

View File

@@ -115,7 +115,10 @@ modules:
- -DwxUSE_ZLIB=sys
- -DwxUSE_LIBJPEG=sys
- -DwxUSE_LIBTIFF=OFF
- -DwxUSE_LIBWEBP=builtin
# sys, not builtin (unlike the static deps build): wxWidgets installs the
# builtin libwxwebp*.so only for static builds, so a shared build leaves
# them missing at runtime. The GNOME runtime provides libwebp.
- -DwxUSE_LIBWEBP=sys
- -DwxUSE_EXPAT=sys
- -DwxUSE_NANOSVG=OFF
- -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld