mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Fix linking for Windows SDL cross-compilations
- Library names must be lower-case when cross-compiling from Linux (-limm32 instead of -lImm32) - ntohl() needs -lws2_32
This commit is contained in:
parent
cbd526ed79
commit
929ef81d6c
@ -657,8 +657,8 @@ MOC = @moc
|
||||
endif
|
||||
|
||||
ifeq ($(SDL_LIBVER),sdl2)
|
||||
LIBS += -lSDL2 -lImm32 -lversion -lole32 -loleaut32 -static
|
||||
BASELIBS += -lImm32 -lversion -lole32 -loleaut32 -static
|
||||
LIBS += -lSDL2 -limm32 -lversion -lole32 -loleaut32 -lws2_32 -static
|
||||
BASELIBS += -limm32 -lversion -lole32 -loleaut32 -lws2_32 -static
|
||||
else
|
||||
LIBS += -lSDL -static
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user