Skip to content

Commit 14f2511

Browse files
committed
macos
1 parent e8dc5c6 commit 14f2511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext_mod/lcd_bus/micropython.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ ifneq (,$(findstring unix, $(LV_PORT)))
3232
else
3333
ifneq (,$(findstring macOS, $(LV_PORT)))
3434
CFLAGS_USERMOD += -DMP_PORT_UNIX=1
35-
LDFLAGS_USERMOD += -lSDL2-2.0
35+
LDFLAGS_USERMOD :=$(shell sdl2-config --libs)
36+
CFLAGS_USERMOD :=$(shell sdl2-config --cflags)
3637
endif
3738
endif

0 commit comments

Comments
 (0)