Mercurial > minori
comparison scripts/osx/deploy_build.sh @ 280:9b6e12c14a1e
chore: merge
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 06 May 2024 17:23:30 -0400 |
parents | 22f9aacf6ac1 |
children | 8d45d892be88 |
comparison
equal
deleted
inserted
replaced
279:657fda1b9cac | 280:9b6e12c14a1e |
---|---|
20 for i in animone pugixml anitomy; do | 20 for i in animone pugixml anitomy; do |
21 cp "dep/$i/.libs/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/Frameworks" | 21 cp "dep/$i/.libs/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/Frameworks" |
22 install_name_tool -change "/usr/local/lib/lib$i.0.dylib" "@executable_path/../Frameworks/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/MacOS/minori" | 22 install_name_tool -change "/usr/local/lib/lib$i.0.dylib" "@executable_path/../Frameworks/lib$i.0.dylib" "$BUNDLE_NAME.app/Contents/MacOS/minori" |
23 done | 23 done |
24 | 24 |
25 macdeployqt "$BUNDLE_NAME.app" | 25 macdeployqt "$BUNDLE_NAME.app" -no-strip |
26 if $FRAMEWORK_MODE; then | 26 if $FRAMEWORK_MODE; then |
27 for i in QtCore QtGui QtWidgets; do | 27 for i in QtCore QtGui QtWidgets; do |
28 install_name_tool -id @executable_path/../Frameworks/$i.framework/Versions/5/$i $BUNDLE_NAME.app/Contents/Frameworks/$i.framework/Versions/5/$i | 28 install_name_tool -id @executable_path/../Frameworks/$i.framework/Versions/5/$i $BUNDLE_NAME.app/Contents/Frameworks/$i.framework/Versions/5/$i |
29 install_name_tool -change @rpath/$i.framework/Versions/5/$i @executable_path/../Frameworks/$i.framework/Versions/5/$i $BUNDLE_NAME.app/Contents/MacOS/minori | 29 install_name_tool -change @rpath/$i.framework/Versions/5/$i @executable_path/../Frameworks/$i.framework/Versions/5/$i $BUNDLE_NAME.app/Contents/MacOS/minori |
30 done | 30 done |