Avoid needing SDL=0 when building dedicated

This commit is contained in:
Hanicef 2023-12-31 21:52:37 +01:00
parent f2a9a81786
commit 3ca9ce2842
2 changed files with 8 additions and 0 deletions

View file

@ -14,7 +14,11 @@ opts+=-I/usr/X11R6/include
libs+=-L/usr/X11R6/lib libs+=-L/usr/X11R6/lib
endif endif
ifndef DEDICATED
ifndef DUMMY
SDL?=1 SDL?=1
endif
endif
# In common usage. # In common usage.
ifdef LINUX ifdef LINUX

View file

@ -17,7 +17,11 @@ sources+=win32/Srb2win.rc
opts+=-DSTDC_HEADERS opts+=-DSTDC_HEADERS
libs+=-ladvapi32 -lkernel32 -lmsvcrt -luser32 libs+=-ladvapi32 -lkernel32 -lmsvcrt -luser32
ifndef DEDICATED
ifndef DUMMY
SDL?=1 SDL?=1
endif
endif
ifndef NOHW ifndef NOHW
opts+=-DUSE_WGL_SWAP opts+=-DUSE_WGL_SWAP