summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-10-26 15:43:44 -0700
committerDan Nicholson <dbn.lists@gmail.com>2007-10-26 15:49:00 -0700
commit887bd6a46f34ede5e60459040a4b44181888743f (patch)
tree744dfa5b25b52c4fe80f24345e49530925a74bfa /configs
parent9af5153410e14f60b551d6724643561ed4e7aefa (diff)
configs: Fix linux-static to link correctly
The linux-static target was missing necessary libraries and hardcoding their location to /usr/X11R6/lib. This makes it comparable to the x86 and x86-64 static targets. (cherry picked from commit 9514209593fbc6c2e3d00d0ac65b17c30751c849)
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-static5
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/linux-static b/configs/linux-static
index 85141ea643f..00edb16ebd2 100644
--- a/configs/linux-static
+++ b/configs/linux-static
@@ -21,6 +21,5 @@ GLUT_LIB_DEPS =
GLW_LIB_DEPS =
# Need to specify all libraries we may need
-APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm \
- -L/usr/X11R6/lib/ -lX11 -lXmu -lXi -lpthread
-
+APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) \
+ $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lpthread -lstdc++ -lm