From 24375bd9ba3acb0c0f616ebecda1e3bdb59394f4 Mon Sep 17 00:00:00 2001 From: Joey Payne Date: Mon, 3 Nov 2014 22:33:08 +1300 Subject: [PATCH] Added install name change for new PIL library into build_mac.bash. --- build_mac.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_mac.bash b/build_mac.bash index 03cd212..c067bc9 100755 --- a/build_mac.bash +++ b/build_mac.bash @@ -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