Skip to content

Commit 2a630d3

Browse files
Try fixing macOS build again
1 parent abfc3ab commit 2a630d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/build_mpos.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
125125
if [ "$target" == "macOS" ]; then
126126
echo "homebrew install rlottie fails so it runs into: fatal error: 'rlottie_capi.h' file not found on macos"
127127
sed -i.backup 's/#define[[:space:]]\+MICROPY_RLOTTIE[[:space:]]\+1/#define MICROPY_RLOTTIE 0/' "$codebasedir"/lvgl_micropython/lib/lv_conf.h
128+
echo "After disabling MICROPY_RLOTTIE:"
129+
cat "$codebasedir"/lvgl_micropython/lib/lv_conf.h
128130
fi
129131

130132
# LV_CFLAGS are passed to USER_C_MODULES (compiler flags only, no linker flags)
@@ -136,6 +138,8 @@ elif [ "$target" == "unix" -o "$target" == "macOS" ]; then
136138

137139
if [ "$target" == "macOS" ]; then
138140
sed -i.backup 's/#define[[:space:]]\+MICROPY_RLOTTIE[[:space:]]\+0/#define MICROPY_RLOTTIE 1/' "$codebasedir"/lvgl_micropython/lib/lv_conf.h
141+
echo "After enabling MICROPY_RLOTTIE:"
142+
cat "$codebasedir"/lvgl_micropython/lib/lv_conf.h
139143
fi
140144

141145
# Restore @micropython.viper decorator after build

0 commit comments

Comments
 (0)