Skip to content

Commit

Permalink
working on macos port
Browse files Browse the repository at this point in the history
  • Loading branch information
kdschlosser committed May 8, 2024
1 parent 224ec0a commit 101fdaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ext_mod/lcd_bus/micropython.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ ifneq (,$(findstring unix, $(LV_PORT)))
CFLAGS_USERMOD += -DMP_PORT_UNIX=1
CFLAGS_USERMOD += -I$(BUILD)/SDL/include/SDL2
CFLAGS_USERMOD += -I$(BUILD)/SDL/include-config-release/SDL2

LDFLAGS_USERMOD += -L$(BUILD)/SDL
LDFLAGS_USERMOD += -lSDL2

ifeq ($(UNAME_S),Darwin)
LDFLAGS_USERMOD += -lSDL2-2.0
else
LDFLAGS_USERMOD += -lSDL2
endif
endif

0 comments on commit 101fdaf

Please sign in to comment.