* Don't link against X directly when building the SDL backend
This commit is contained in:
1 parent
4bc5c29115
commit
ae9fbe3288
1 file changed
+3
-2
+3
-2
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user