diff --git a/Makefile b/Makefile index 39983b10e2..7e42ca8be8 100644 --- a/Makefile +++ b/Makefile @@ -217,10 +217,15 @@ ifdef DEDICATED WITH_SDL:= ifndef WIN32 ifndef MORPHOS +ifndef OSX LDFLAGS+=-lpthread endif endif endif +ifdef OSX +LDFLAGS+=-framework Cocoa +endif +endif ##############################################################################