Mercurial > minori
comparison scripts/osx/deploy_build.sh @ 275:22f9aacf6ac1
osx: don't dereference NULL pointers
fail
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 18 Apr 2024 19:23:31 -0400 |
parents | f31305b9f60a |
children | 8d45d892be88 |
comparison
equal
deleted
inserted
replaced
274:f6a756c19bfb | 275:22f9aacf6ac1 |
---|---|
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 |