diff options
Diffstat (limited to 'scripts/setenv-linbuild.sh')
-rw-r--r-- | scripts/setenv-linbuild.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/setenv-linbuild.sh b/scripts/setenv-linbuild.sh new file mode 100644 index 0000000..a61b55a --- /dev/null +++ b/scripts/setenv-linbuild.sh @@ -0,0 +1,16 @@ +# BASEDIR and DEPLOYDIR must be the same as in linux-build-dependencies.sh +BASEDIR=$HOME/openscad_deps +DEPLOYDIR=$BASEDIR + +PATH=$BASEDIR/bin:$PATH +LD_LIBRARY_PATH=$DEPLOYDIR/lib:$DEPLOYDIR/lib64 +LD_RUN_PATH=$DEPLOYDIR/lib:$DEPLOYDIR/lib64 +OPENSCAD_LIBRARIES=$DEPLOYDIR +GLEWDIR=$DEPLOYDIR + +echo PATH modified +echo LD_LIBRARY_PATH modified +echo LD_RUN_PATH modified +echo OPENSCAD_LIBRARIES modified +echo GLEWDIR modified + |