summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-08-01 13:15:31 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:11:08 +0000
commit885cbfb2961722dfd2ff3b5e0f961a439c123254 (patch)
treef297a207b75da4a7e538db73084f0069e1163322
parent71a61fc6baf35e8882c83586fd808ad9fc1701e5 (diff)
Add SDL library to renderer lib
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6e70990e..8b02d886 100644
--- a/Makefile
+++ b/Makefile
@@ -337,7 +337,7 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
LIBS=-ldl -lm
CLIENT_LIBS=$(SDL_LIBS)
- RENDERER_LIBS=-lGL
+ RENDERER_LIBS = $(SDL_LIBS) -lGL
ifeq ($(USE_OPENAL),1)
ifneq ($(USE_OPENAL_DLOPEN),1)
@@ -597,7 +597,7 @@ ifeq ($(PLATFORM),freebsd)
CLIENT_LIBS =
CLIENT_LIBS += $(SDL_LIBS)
- RENDERER_LIBS = -lGL
+ RENDERER_LIBS = $(SDL_LIBS) -lGL
# optional features/libraries
ifeq ($(USE_OPENAL),1)
@@ -677,7 +677,7 @@ ifeq ($(PLATFORM),openbsd)
CLIENT_LIBS =
CLIENT_LIBS += $(SDL_LIBS)
- RENDERER_LIBS = -lGL
+ RENDERER_LIBS = $(SDL_LIBS) -lGL
ifeq ($(USE_OPENAL),1)
ifneq ($(USE_OPENAL_DLOPEN),1)
@@ -748,7 +748,7 @@ ifeq ($(PLATFORM),irix64)
# FIXME: The X libraries probably aren't necessary?
CLIENT_LIBS=-L/usr/X11/$(LIB) $(SDL_LIBS) \
-lX11 -lXext -lm
- RENDERER_LIBS = -lGL
+ RENDERER_LIBS = $(SDL_LIBS) -lGL
else # ifeq IRIX
@@ -814,7 +814,7 @@ ifeq ($(PLATFORM),sunos)
BOTCFLAGS=-O0
CLIENT_LIBS +=$(SDL_LIBS) -lX11 -lXext -liconv -lm
- RENDERER_LIBS = -lGL
+ RENDERER_LIBS = $(SDL_LIBS) -lGL
else # ifeq sunos