From: Dan Nicholson Date: Fri, 26 Oct 2007 22:43:44 +0000 (-0700) Subject: configs: Fix linux-static to link correctly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9514209593fbc6c2e3d00d0ac65b17c30751c849;p=mesa.git 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. --- 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