Ticket #28662: patch-modules-sdl-module.mk.diff
File patch-modules-sdl-module.mk.diff, 427 bytes (added by alfredh (Alfred E. Heggestad), 14 years ago) |
---|
-
modules/sdl/module.mk
old new 17 17 CFLAGS += -DUSE_SDL 18 18 $(MOD)_LFLAGS += -lSDL 19 19 ifeq ($(OS),darwin) 20 $(MOD)_LFLAGS += -lSDLmain -lobjc \ 20 # note: APP_LFLAGS is needed, as main.o links to -lSDLmain 21 APP_LFLAGS += -lSDL -lSDLmain -lobjc \ 21 22 -framework CoreFoundation -framework Foundation -framework Cocoa 22 23 endif 23 24