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  
    1717CFLAGS          += -DUSE_SDL
    1818$(MOD)_LFLAGS   += -lSDL
    1919ifeq ($(OS),darwin)
    20 $(MOD)_LFLAGS   += -lSDLmain -lobjc \
     20# note: APP_LFLAGS is needed, as main.o links to -lSDLmain
     21APP_LFLAGS      += -lSDL -lSDLmain -lobjc \
    2122        -framework CoreFoundation -framework Foundation -framework Cocoa
    2223endif
    2324