Mercurial > octave
diff run-octave.in @ 18169: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 | b5d58667d32d |
children | d902542221c8 446c46af4b42 |
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" \