Skip to content

Commit

Permalink
run-octave: Remove setting environment variables with path to built l…
Browse files Browse the repository at this point in the history
…iboctmex.

* run-octave.in: Remove setting environment variables with path to the liboctmex
library in the build tree. This is no longer necessary because the library is
loaded early on when starting the Octave application now.
  • Loading branch information
mmuetzel committed Oct 15, 2024
1 parent e42f5b2 commit 054db86
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions run-octave.in
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,6 @@ if [ "$ADDRESS_SANITIZER_ENABLED" = yes ]; then
export ASAN_OPTIONS
fi

case "%host_os%" in
msdosmsvc | mingw* | cygwin*)
PATH="$builddir/libmex/.libs:${PATH}"; export PATH ;;
darwin*)
DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$builddir/libmex/.libs"; export DYLD_LIBRARY_PATH ;;
*)
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$builddir/libmex/.libs"; export LD_LIBRARY_PATH ;;
esac

exec $builddir/libtool --mode=execute $driver \
"$octave_executable" --no-init-path --path="$LOADPATH" \
--image-path="$IMAGEPATH" --doc-cache-file="$DOCFILE" \
Expand Down

0 comments on commit 054db86

Please sign in to comment.