snap: add LIBGL_DRIVERS_PATH to get right path for rest of the required libs

This commit is contained in:
rafal1137 2024-03-14 13:50:03 +01:00
parent 8674373cc0
commit 64e90fc8e5

View file

@ -44,6 +44,7 @@ apps:
PULSE_SERVER: unix:$XDG_RUNTIME_DIR/../pulse/native
PULSE_SYSTEM: 1
PULSE_RUNTIME_PATH: /var/run/pulse
LIBGL_DRIVERS_PATH: ${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/dri
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}:${SNAP}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/pulseaudio
etlded: