* Don't link against X directly when building the SDL backend

This commit is contained in:
Tim Angus 2005-09-25 22:27:26 +00:00
parent 4bc5c29115
commit ae9fbe3288
1 changed files with 3 additions and 2 deletions

View File

@ -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)