Skip to content

Commit e4b3e93

Browse files
committed
trying to fix libgcc missing
1 parent aa5dba9 commit e4b3e93

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build_scripts/macOS/0_setup_env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ esac
2323
done
2424

2525

26-
brew install coreutils cmake ninja libomp eigen libjpeg libtiff #opencv
26+
brew install coreutils cmake ninja libomp eigen libjpeg libtiff dylibbundler #opencv
2727

2828
npm install -g appdmg
2929

build_scripts/macOS/internal/2a_appbundle.sh

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ fi
3636
message=$(${QT_BASE_DIR}macdeployqt $INSTALL_PATH/$APPNAME \
3737
$ARGUMENTS 2>&1)
3838

39+
dylibbundler -b -x $APPNAME/Contents/MacOS/${APPNAME%.app} -d $APPNAME/Contents/Frameworks -p @executable_path/../Frameworks
40+
41+
3942
# if message contains "ERROR" then macdeployqt failed
4043
if [[ $message == *"ERROR"* ]]; then
4144
echo "macdeployqt failed."

0 commit comments

Comments
 (0)