mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r3326) - Fix: [ 1226832 ] Build fails if SDL is built without pthread support (dst)
This commit is contained in:
parent
66ac4f4d1a
commit
97521e3fdd
20
Makefile
20
Makefile
@ -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:=
|
||||
WITH_SDL:=
|
||||
endif
|
||||
|
||||
# add -lpthread to LDFLAGS
|
||||
ifndef WIN32
|
||||
ifndef MORPHOS
|
||||
ifndef OSX
|
||||
LDFLAGS+=-lpthread
|
||||
endif
|
||||
endif
|
||||
ifndef MORPHOS
|
||||
ifndef OSX
|
||||
LDFLAGS+=-lpthread
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef OSX
|
||||
LDFLAGS+=-framework Cocoa
|
||||
endif
|
||||
LDFLAGS+=-framework Cocoa
|
||||
endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user