Added install name change for new PIL library into build_mac.bash.

This commit is contained in:
Joey Payne 2014-11-03 22:33:08 +13:00
commit 24375bd9ba

View file

@ -1,6 +1,6 @@
rm -rf freeze
cxfreeze main.py --target-dir=freeze --include-modules=PySide.QtGui,PySide,PySide.QtNetwork,PySide.QtCore
cxfreeze main.py --target-dir=freeze --include-modules=PySide.QtGui,PySide,PySide.QtNetwork,PySide.QtCore,PIL
chmod 755 freeze/*
cp -rf freeze/* Web2Executable.app/Contents/MacOS/
@ -36,3 +36,5 @@ install_name_tool -change /usr/local/lib/QtCore.framework/Versions/4/QtCore @exe
install_name_tool -change /usr/local/lib/QtNetwork.framework/Versions/4/QtNetwork @executable_path/QtNetwork Web2Executable.app/Contents/MacOS/QtNetwork
install_name_tool -change /usr/local/Cellar/qt/4.8.5/lib/QtCore.framework/Versions/4/QtCore @executable_path/QtCore Web2Executable.app/Contents/MacOS/QtNetwork
install_name_tool -change /usr/local/lib/libjpeg.8.dylib @executable_path/libjpeg.8.dylib Web2Executable.app/Contents/MacOS/PIL._imaging.so