mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-18 00:21:40 +00:00
* Don't link against X directly when building the SDL backend
This commit is contained in:
parent
4bc5c29115
commit
ae9fbe3288
1 changed files with 3 additions and 2 deletions
|
@ -171,7 +171,6 @@ ifeq ($(PLATFORM),linux)
|
|||
|
||||
THREAD_LDFLAGS=-lpthread
|
||||
LDFLAGS=-ldl -lm
|
||||
GLLDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
|
||||
|
||||
DEBUG_CFLAGS += -DHAVE_EXECINFO_H
|
||||
ifeq ($(BUILD_FREETYPE),1)
|
||||
|
@ -181,7 +180,9 @@ ifeq ($(PLATFORM),linux)
|
|||
endif
|
||||
|
||||
ifeq ($(strip $(USE_SDL)),true)
|
||||
GLLDFLAGS+=$(shell sdl-config --libs)
|
||||
GLLDFLAGS=$(shell sdl-config --libs)
|
||||
else
|
||||
GLLDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
|
|
Loading…
Reference in a new issue