summaryrefslogtreecommitdiff
path: root/release-common.sh
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-24 23:20:45 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-24 23:20:45 (GMT)
commit3c50b20a0adb235da22cf87e7ac771ee63c54cc1 (patch)
tree17886023d9453b6ebf91695b85d670673a11546d /release-common.sh
parentbe807bf704e7cf2339863ae632b20b52bd11feb9 (diff)
Mac build tweaks
git-svn-id: http://svn.clifford.at/openscad/trunk@348 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'release-common.sh')
-rwxr-xr-xrelease-common.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/release-common.sh b/release-common.sh
index b9d02e7..9624035 100755
--- a/release-common.sh
+++ b/release-common.sh
@@ -77,13 +77,14 @@ EXAMPLESDIR=openscad-$VERSION/examples/
case $OS in
MACOSX)
+ OPENCSGDIR=`cd "$OPENCSGDIR" && pwd`
mkdir OpenSCAD.app/Contents/Frameworks
cp $OPENCSGDIR/lib/libopencsg.dylib OpenSCAD.app/Contents/Frameworks
cp /opt/local/lib/libGLEW.1.5.1.dylib OpenSCAD.app/Contents/Frameworks
cp /Library/Frameworks/QtOpenGL.framework/Versions/4/QtOpenGL OpenSCAD.app/Contents/Frameworks
cp /Library/Frameworks/QtGui.framework/Versions/4/QtGui OpenSCAD.app/Contents/Frameworks
cp /Library/Frameworks/QtCore.framework/Versions/4/QtCore OpenSCAD.app/Contents/Frameworks
- install_name_tool -change libopencsg.1.dylib @executable_path/../Frameworks/libopencsg.dylib OpenSCAD.app/Contents/MacOS/openscad
+ install_name_tool -change $OPENCSGDIR/lib/libopencsg.1.dylib @executable_path/../Frameworks/libopencsg.dylib OpenSCAD.app/Contents/MacOS/openscad
install_name_tool -change QtOpenGL.framework/Versions/4/QtOpenGL @executable_path/../Frameworks/QtOpenGL OpenSCAD.app/Contents/MacOS/openscad
install_name_tool -change QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui OpenSCAD.app/Contents/MacOS/openscad
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore OpenSCAD.app/Contents/MacOS/openscad
@@ -115,7 +116,7 @@ case $OS in
MACOSX)
hdiutil create -quiet -ov -srcfolder openscad-$VERSION/OpenSCAD.app OpenSCAD-$VERSION.dmg
hdiutil internet-enable -yes -quiet OpenSCAD-$VERSION.dmg
- echo "Binary created: openscad-$VERSION.dmg"
+ echo "Binary created: OpenSCAD-$VERSION.dmg"
;;
*)
rm -f openscad-$VERSION.zip
contact: Jan Huwald // Impressum