diff options
author | Darkvater <Darkvater@openttd.org> | 2005-12-21 01:19:03 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-12-21 01:19:03 +0000 |
commit | 97521e3fdd0a20c243a54e10c6f0b054af272007 (patch) | |
tree | a16e6129b3cf5ad1f1d238cb4abe95ada26509b9 /Makefile | |
parent | 66ac4f4d1a249ae5e90a78007743c91d6bacb674 (diff) | |
download | openttd-97521e3fdd0a20c243a54e10c6f0b054af272007.tar.xz |
(svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread support (dst)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -226,19 +226,21 @@ endif endif # remove the dependancy for sdl if DEDICALTED is used -# and add -lpthread to LDFLAGS, because SDL normally adds that... ifdef DEDICATED -WITH_SDL:= -ifndef WIN32 -ifndef MORPHOS -ifndef OSX -LDFLAGS+=-lpthread -endif + WITH_SDL:= endif + +# add -lpthread to LDFLAGS +ifndef WIN32 + ifndef MORPHOS + ifndef OSX + LDFLAGS+=-lpthread + endif + endif endif + ifdef OSX -LDFLAGS+=-framework Cocoa -endif + LDFLAGS+=-framework Cocoa endif |