diff options
author | Marius Kintel <marius@kintel.net> | 2012-07-07 20:02:51 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-07-07 20:02:51 (GMT) |
commit | 0d619e5ac155e37c432d57062d8224a58c9d59ab (patch) | |
tree | 10183df17cd4786ee1ef43b95c988fefd13ca990 /scripts/setenv-linbuild.sh | |
parent | aa8aee623adc74cbfe87f9e92e30be4a9ed3a7c8 (diff) | |
parent | b028b704e029a5161d3703efda35642a37c28cb6 (diff) |
Merge branch 'master' into linear_extrude_argument
Diffstat (limited to 'scripts/setenv-linbuild.sh')
-rw-r--r-- | scripts/setenv-linbuild.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/setenv-linbuild.sh b/scripts/setenv-linbuild.sh new file mode 100644 index 0000000..9719533 --- /dev/null +++ b/scripts/setenv-linbuild.sh @@ -0,0 +1,23 @@ +# setup env variables for building OpenSCAD against custom built +# dependency libraries from linux-build-dependencies.sh + +# run this file with 'source setenv-linbuild.sh' + +# BASEDIR and DEPLOYDIR must be the same as in linux-build-dependencies.sh +BASEDIR=$HOME/openscad_deps +DEPLOYDIR=$BASEDIR + +export PATH=$BASEDIR/bin:$PATH +export LD_LIBRARY_PATH=$DEPLOYDIR/lib:$DEPLOYDIR/lib64 +export LD_RUN_PATH=$DEPLOYDIR/lib:$DEPLOYDIR/lib64 +export OPENSCAD_LIBRARIES=$DEPLOYDIR +export GLEWDIR=$DEPLOYDIR + +echo BASEDIR: $BASEDIR +echo DEPLOYDIR: $DEPLOYDIR +echo PATH modified +echo LD_LIBRARY_PATH modified +echo LD_RUN_PATH modified +echo OPENSCAD_LIBRARIES modified +echo GLEWDIR modified + |