summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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