Skip to content

Commit

Permalink
Fixes macOS compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
kdschlosser committed Dec 1, 2024
1 parent dec93ee commit c08083a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext_mod/lcd_bus/micropython.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ else
ifneq (,$(findstring macOS, $(LV_PORT)))
# -F/Library/Frameworks -framework SDL2
CFLAGS_USERMOD += -DMP_PORT_UNIX=1
CFLAGS_USERMOD += -Wno-incompatible-pointer-types-discards-qualifiers
CFLAGS_USERMOD += -I/Library/Frameworks/SDL2.framework/Headers/SDL2
CFLAGS_USERMOD += $(shell sdl2-config --cflags)
LDFLAGS_USERMOD += $(shell sdl2-config --libs)
Expand Down

0 comments on commit c08083a

Please sign in to comment.