mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
Fix compiling with SDL 1.2, BASELIBS need X11 in this case. (nw)
This commit is contained in:
parent
9dd8b47bf4
commit
91005a5e13
@ -77,6 +77,7 @@ USE_DISPATCH_GL = 1
|
||||
# change for custom OS X installations
|
||||
SDL_FRAMEWORK_PATH = /Library/Frameworks/
|
||||
|
||||
# uncomment to use SDL1.2 (depracated)
|
||||
# SDL_LIBVER = sdl
|
||||
|
||||
###########################################################################
|
||||
@ -741,6 +742,9 @@ else
|
||||
# Default libs
|
||||
DEFS += -DSDLMAME_X11
|
||||
LIBS += -lX11 -lXinerama
|
||||
ifneq ($(SDL_LIBVER),sdl2)
|
||||
BASELIBS += -lX11
|
||||
endif
|
||||
|
||||
# The newer debugger uses QT
|
||||
ifndef NO_USE_QTDEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user