summaryrefslogtreecommitdiffstats
path: root/configs/linux
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux')
-rw-r--r--configs/linux8
1 files changed, 3 insertions, 5 deletions
diff --git a/configs/linux b/configs/linux
index 3504d6b4249..478947864bf 100644
--- a/configs/linux
+++ b/configs/linux
@@ -14,9 +14,7 @@ GLUT_CFLAGS = -fexceptions
# Library/program dependencies
+# Need to have -L/usr/X11R6/lib in these:
GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread
-OSMESA_LIB_DEPS = -L$(LIB_DIR) -lGL
-GLU_LIB_DEPS = -L$(LIB_DIR) -lGL -lm
-GLUT_LIB_DEPS = -L$(LIB_DIR) -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
-GLW_LIB_DEPS = -L$(LIB_DIR) -lGL -L/usr/X11R6/lib -lXt -lX11
-APP_LIB_DEPS = -L$(LIB_DIR) -lglut -lGLU -lGL -lm
+GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm
+GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -L/usr/X11R6/lib -lXt -lX11