mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Makefile.w32, Makefile.w64: now that net_sdlnet.c is properly cleaned up
and is not messing with socket api functions, windows versions no longer need linking to wsock32.dll or ws2_32.dll. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@55 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
28fe359668
commit
80346daacf
2 changed files with 4 additions and 8 deletions
|
@ -49,10 +49,8 @@ SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|
|||
SDL_LFLAGS := $(shell $(SDL_CONFIG) --libs)
|
||||
|
||||
SDL_LIBS := SDL_net
|
||||
# link to what SDL_net.dll already is linked to:
|
||||
# win32: wsock32.dll, win64 (mingw-w64): ws2_32.dll
|
||||
NET_LIBS := wsock32
|
||||
COMMON_LIBS:= m opengl32 $(NET_LIBS)
|
||||
|
||||
COMMON_LIBS:= m opengl32
|
||||
|
||||
LIBS := $(patsubst %,-l%,$(COMMON_LIBS) $(SDL_LIBS))
|
||||
|
||||
|
|
|
@ -49,10 +49,8 @@ SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags)
|
|||
SDL_LFLAGS := $(shell $(SDL_CONFIG) --libs)
|
||||
|
||||
SDL_LIBS := SDL_net
|
||||
# link to what SDL_net.dll already is linked to:
|
||||
# win32: wsock32.dll, win64 (mingw-w64): ws2_32.dll
|
||||
NET_LIBS := ws2_32
|
||||
COMMON_LIBS:= m opengl32 $(NET_LIBS)
|
||||
|
||||
COMMON_LIBS:= m opengl32
|
||||
|
||||
LIBS := $(patsubst %,-l%,$(COMMON_LIBS) $(SDL_LIBS))
|
||||
|
||||
|
|
Loading…
Reference in a new issue