File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ cp misc/macos/Info.plist $ARTIFACT/avocado.app/Contents
27
27
# Copy icon
28
28
mv misc/avocado.icns $ARTIFACT /avocado.app/Contents/Resources/
29
29
30
+ # Copy & fix dylibs
31
+ dylibbundler -od -b \
32
+ -x $ARTIFACT /avocado.app/Contents/MacOS/avocado \
33
+ -d $ARTIFACT /avocado.app/Contents/Frameworks/ \
34
+ -p @executable_path/../Frameworks/
35
+
30
36
# Remove .gitignore
31
37
find $ARTIFACT -type f -name .gitignore -exec rm {} \;
32
38
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ tar xzf premake-$PREMAKE_VERSION-macosx.tar.gz
8
8
mv premake5 /usr/local/bin/
9
9
rm premake-$PREMAKE_VERSION -macosx.tar.gz
10
10
11
- # Download SDL2 and ccache
11
+ # Download dependencies
12
12
brew update > /dev/null
13
- brew install sdl2 ccache
13
+ brew install sdl2 ccache dylibbundler
You can’t perform that action at this time.
0 commit comments