Client: build AppImages for older glibc

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
sarahandClaude Opus 5.5 committed 2026-10-13 17:40:14 +02:00
1 parent ee904540c6
commit 55ee8e2f23
2 files changed
+31 -10

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# PyInstaller runtime hook. The frozen app runs with LD_LIBRARY_PATH pointing
# at its bundled libraries, and programs it starts inherit that: Flet's
# desktop client then loads the bundled (older) libstdc++ instead of the
# system's and won't start ("GLIBCXX_3.4.29 not found"). Give them the
# original value back; the app itself has already loaded what it needs.
import os
if "LD_LIBRARY_PATH_ORIG" in os.environ:
os.environ["LD_LIBRARY_PATH"] = os.environ["LD_LIBRARY_PATH_ORIG"]
else:
os.environ.pop("LD_LIBRARY_PATH", None)