mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +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
|
THREAD_LDFLAGS=-lpthread
|
||||||
LDFLAGS=-ldl -lm
|
LDFLAGS=-ldl -lm
|
||||||
GLLDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
|
|
||||||
|
|
||||||
DEBUG_CFLAGS += -DHAVE_EXECINFO_H
|
DEBUG_CFLAGS += -DHAVE_EXECINFO_H
|
||||||
ifeq ($(BUILD_FREETYPE),1)
|
ifeq ($(BUILD_FREETYPE),1)
|
||||||
|
@ -181,7 +180,9 @@ ifeq ($(PLATFORM),linux)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(strip $(USE_SDL)),true)
|
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
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
|
|
Loading…
Reference in a new issue