mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 04:05:59 +08:00
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
@ -37,7 +37,7 @@ echo -n "[9/9] Generating Linux app..."
|
|||||||
cat << EOF >@SLIC3R_APP_CMD@
|
cat << EOF >@SLIC3R_APP_CMD@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
DIR=\$(readlink -f "\$0" | xargs dirname)
|
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
|
# FIXME: OrcaSlicer segfault workarounds
|
||||||
# 1) OrcaSlicer will segfault on systems where locale info is not as expected (i.e. Holo-ISO arch-based distro)
|
# 1) OrcaSlicer will segfault on systems where locale info is not as expected (i.e. Holo-ISO arch-based distro)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user