summaryrefslogtreecommitdiff
path: root/scripts/setenv-linbuild.sh
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-07-04 09:05:29 (GMT)
committerMarius Kintel <marius@kintel.net>2012-07-04 09:05:29 (GMT)
commit329295f17fe1b3d2d6b218c762201214f431b70a (patch)
tree8a769ccb3b91fa493c3b20af16434e0f0d04fe81 /scripts/setenv-linbuild.sh
parentb6b018e768e017880e9d582963c7685c24a4b6f6 (diff)
parent883c433e24e5f31791474d3f51925a3b55433ac8 (diff)
Merge pull request #133 from openscad/linbuilder
Linbuilder
Diffstat (limited to 'scripts/setenv-linbuild.sh')
-rw-r--r--scripts/setenv-linbuild.sh23
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
+
contact: Jan Huwald // Impressum