@@ -5,6 +5,7 mv ${MESON_INSTALL_PREFIX}/lib/*plugin* ${MESON_INSTALL_PREFIX}/Contents/MacOS | |||
|
5 | 5 | macdeployqt ${MESON_INSTALL_PREFIX} -verbose=3 -executable=/tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
6 | 6 | python_lib_path=`otool -L /tmp/SciQLOP.app/Contents/MacOS/sciqlop | grep -i python | cut -d' ' -f1` |
|
7 | 7 | stdcpp_lib_path=`otool -L /tmp/SciQLOP.app/lib/pysciqlopcore.*.so | grep -i stdc++ | cut -d' ' -f1` |
|
8 | stdcpp_lib_name=`echo $stdcpp_lib_path | rev | cut -d'/' -f1 | rev` | |
|
8 | 9 | install_name_tool -change @rpath/QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
9 | 10 | install_name_tool -change @rpath/QtPrintSupport.framework/Versions/5/QtPrintSupport @executable_path/../Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
10 | 11 | install_name_tool -change @rpath/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
@@ -15,7 +16,8 install_name_tool -change $python_lib_path @executable_path/../../.Python /tmp/S | |||
|
15 | 16 | |
|
16 | 17 | qtcore_path=`otool -L /tmp/SciQLOP.app/lib/pysciqlopcore.*.so | grep -i QtCore | cut -d' ' -f1` |
|
17 | 18 | qtnetwork_path=`otool -L /tmp/SciQLOP.app/lib/pysciqlopcore.*.so | grep -i QtNetwork | cut -d' ' -f1` |
|
18 | install_name_tool -change $qtcore_path @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /tmp/SciQLOP.app/lib/pysciqlopcore.*.so | |
|
19 |
install_name_tool -change $qt |
|
|
20 | install_name_tool -change $python_lib_path @executable_path/../../.Python /tmp/SciQLOP.app/lib/pysciqlopcore.*.so | |
|
21 |
install_name_tool -change $ |
|
|
19 | pysciqlopcore_path=`ls /tmp/SciQLOP.app/lib/pysciqlopcore.*.so` | |
|
20 | install_name_tool -change $qtcore_path @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore $pysciqlopcore_path | |
|
21 | install_name_tool -change $qtnetwork_path @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork $pysciqlopcore_path | |
|
22 | install_name_tool -change $python_lib_path @executable_path/../../.Python $pysciqlopcore_path | |
|
23 | install_name_tool -change $stdcpp_lib_path @executable_path/../Frameworks/$stdcpp_lib_name $pysciqlopcore_path |
General Comments 0
You need to be logged in to leave comments.
Login now