diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-04 05:27:31 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-04 05:27:31 (GMT) |
commit | bbef180a218aa59f03ea7bcf389ff3d1a357907d (patch) | |
tree | 01f4f4b521a288684da61fa92306460ef1c2a666 | |
parent | 984f7dc3f916232375ec7efe3b240e4c286a4c3c (diff) |
kludge-fix for broken Makefiles for opencsg + glew on Fedora 64bit
-rwxr-xr-x | scripts/linux-build-dependencies.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/linux-build-dependencies.sh b/scripts/linux-build-dependencies.sh index a789e9d..286399b 100755 --- a/scripts/linux-build-dependencies.sh +++ b/scripts/linux-build-dependencies.sh @@ -16,7 +16,7 @@ BASEDIR=$HOME/openscad_deps OPENSCADDIR=$PWD SRCDIR=$BASEDIR/src DEPLOYDIR=$BASEDIR -NUMCPU=4 # paralell builds for some libraries +NUMCPU=2 # paralell builds for some libraries printUsage() { @@ -145,6 +145,10 @@ build_glew() tar xzf glew-$version.tgz cd glew-$version mkdir -p $DEPLOYDIR/lib/pkgconfig + + # uncomment this kludge for Fedora 64bit + # sed -i s/"\-lXmu"/"\-L\/usr\/lib64\/libXmu.so.6"/ config/Makefile.linux + GLEW_DEST=$DEPLOYDIR make -j$NUMCPU GLEW_DEST=$DEPLOYDIR make install } @@ -161,6 +165,10 @@ build_opencsg() tar xzf OpenCSG-$version.tar.gz cd OpenCSG-$version sed -i s/example// opencsg.pro # examples might be broken without GLUT + + # uncomment this kludge for Fedora 64bit + # sed -i s/"\-lXmu"/"\-L\/usr\/lib64\/libXmu.so.6"/ src/Makefile + qmake-qt4 make install -v lib/* $DEPLOYDIR/lib |