AppImage: Fix env overrides that cause segfault and EGL initialization error for Mesa from GIT (#6141)
Fix override that cause segfault and EGL initialization error When user built Mesa from GIT and load it using env variables LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH it override LD_LIBRARY_PATH inside AppImage but other variable LIBGL_DRIVERS_PATH not override and it cause EGL init error.
This commit is contained in:
parent
854ce80a34
commit
b4a2abeab8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ echo -n "[9/9] Generating Linux app..."
|
|||
cat << EOF >@SLIC3R_APP_CMD@
|
||||
#!/bin/bash
|
||||
DIR=\$(readlink -f "\$0" | xargs dirname)
|
||||
export LD_LIBRARY_PATH="\$DIR/bin"
|
||||
export LD_LIBRARY_PATH="\$DIR/bin:\$LD_LIBRARY_PATH"
|
||||
|
||||
# FIXME: OrcaSlicer segfault workarounds
|
||||
# 1) OrcaSlicer will segfault on systems where locale info is not as expected (i.e. Holo-ISO arch-based distro)
|
||||
|
|
Loading…
Reference in a new issue