From 887bd6a46f34ede5e60459040a4b44181888743f Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 26 Oct 2007 15:43:44 -0700 Subject: 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) --- configs/linux-static | 5 ++--- 1 file 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 -- cgit v1.2.3