changeset 4490:788dc298ec00

octave-wrapper.in: Set and export LIBGL_DRIVERS_PATH.
author John W. Eaton <jwe@octave.org>
date Thu, 05 Oct 2017 14:23:20 -0400
parents d50a2adc8d75
children 7bf3a5b0f0fa
files octave-wrapper.in
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/octave-wrapper.in	Thu Oct 05 08:57:15 2017 -0400
+++ b/octave-wrapper.in	Thu Oct 05 14:23:20 2017 -0400
@@ -21,6 +21,8 @@
 GNUPLOT_SHARE_DIR="$OCTAVE_HOME/share/gnuplot/@GNUPLOT_MAJOR_MINOR_VERSION@"
 GNUPLOT_PS_DIR="$GNUPLOT_SHARE_DIR/PostScript"
 
+LIBGL_DRIVERS_PATH="$OCTAVE_HOME/lib/dri"
+
 export OCTAVE_HOME
 export PATH
 export LD_LIBRARY_PATH
@@ -30,5 +32,6 @@
 export GNUPLOT_DRIVER_DIR
 export GNUPLOT_SHARE_DIR
 export GNUPLOT_PS_DIR
+export LIBGL_DRIVERS_PATH
 
 exec "$OCTAVE_HOME/bin/@PROGRAM_NAME@-@OCTAVE_VERSION@.real" "$@"