changeset 18168:525af54479eb stable

allow run-octave to find octave-gui program * run-octave.in: Set OCTAVE_ARCHLIB when executing Octave so that octave-gui will be found.
author John W. Eaton <jwe@octave.org>
date Tue, 24 Dec 2013 01:37:29 -0500
parents 65e4e0569ed4
children 002c06b3fc51 1939b7de8f9a
files run-octave.in
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/run-octave.in	Mon Dec 23 19:34:34 2013 -0500
+++ b/run-octave.in	Tue Dec 24 01:37:29 2013 -0500
@@ -78,7 +78,13 @@
   fi
 fi
 
+## We set OCTAVE_ARCHLIBDIR so that the wrapper program can find the
+## octave-gui program in the build tree.  That will fail if we ever
+## need Octave to find other things in ARCHLIBDIR that are not built
+## in the $builddir/src directory.
+
 OCTAVE_BINDIR="$builddir/src" \
+OCTAVE_ARCHLIBDIR="$builddir/src" \
 OCTAVE_SITE_INITFILE="$top_srcdir/scripts/startup/main-rcfile" \
 OCTAVE_DEFAULT_QT_SETTINGS="$builddir/libgui/default-qt-settings" \
 OCTAVE_LOCALE_DIR="$builddir/libgui/languages" \