summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-10-26 15:43:44 -0700
committerDan Nicholson <[email protected]>2007-10-26 15:46:37 -0700
commit9514209593fbc6c2e3d00d0ac65b17c30751c849 (patch)
tree82caabf1a138b1005e338ddc2ebec6e46455eb03
parent6ef27b88e6f767cd476676b33cb7c4ea6922234e (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.
-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