# HG changeset patch # User Darkvater # Date 1135127943 0 # Node ID 699ddeb79adf651a55e4dca9b2fbaa95034a876f # Parent 0002d4b696a057c57d87d506f8b24dd39e81f61c (svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread support (dst) diff -r 0002d4b696a0 -r 699ddeb79adf Makefile --- a/Makefile Wed Dec 21 01:14:01 2005 +0000 +++ b/Makefile Wed Dec 21 01:19:03 2005 +0000 @@ -226,19 +226,21 @@ endif # remove the dependancy for sdl if DEDICALTED is used -# and add -lpthread to LDFLAGS, because SDL normally adds that... ifdef DEDICATED -WITH_SDL:= + WITH_SDL:= +endif + +# add -lpthread to LDFLAGS ifndef WIN32 -ifndef MORPHOS -ifndef OSX -LDFLAGS+=-lpthread + ifndef MORPHOS + ifndef OSX + LDFLAGS+=-lpthread + endif + endif endif -endif -endif + ifdef OSX -LDFLAGS+=-framework Cocoa -endif + LDFLAGS+=-framework Cocoa endif