Skip to content

Commit

Permalink
macos fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
antmak committed Dec 1, 2023
1 parent d3db7ef commit 23206fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/configure-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VERSION=${VERSION:-dev}

sed -i='' "s/project('qemu', \['c'\],/project('qemu', \['c', 'objc'\],/" meson.build

# workaround for some headers
# workaround for some headers that macOS couldn't find for some unknown reason
sed -i='' "s/common_user_inc = \[\]/common_user_inc = \['include', 'build'\]/" meson.build

echo DBG
Expand All @@ -20,10 +20,10 @@ echo DBG
--disable-cocoa \
--disable-coreaudio \
--disable-docs \
--disable-sdl \
--disable-user \
--disable-vnc \
--enable-gcrypt \
--enable-sdl \
--enable-slirp \
--prefix=$PWD/install/qemu \
--python=python3 \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scripts/prerequisites-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ brew install \
ninja \
pixman \
pkg-config \
sdl2 \
&& :

# workaround if deprecated module 'distutils.version' is missing
Expand Down

0 comments on commit 23206fc

Please sign in to comment.