configs: Fix linux-static to link correctly
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 26 Oct 2007 22:43:44 +0000 (15:43 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Fri, 26 Oct 2007 22:46:37 +0000 (15:46 -0700)
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.

configs/linux-static

index 85141ea..00edb16 100644 (file)
@@ -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