From: Dan Nicholson Date: Thu, 1 Apr 2010 21:59:10 +0000 (-0700) Subject: progs: Fix linking of Xlib demos for non-autoconf builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e5effefc7e1cf147315841894d1548f09b96cbc;p=mesa.git progs: Fix linking of Xlib demos for non-autoconf builds The Xlib demos were fixed to use $(X11_LIBS) so that configure could detect the proper directory to link the library from, but this broke the non-autoconf builds. Give X11_LIBS a default value to fallback on. (cherry picked from commit e40fce13e152ecf929c899ed38a8e5f7d198c738) --- diff --git a/configs/default b/configs/default index 47d6923f019..fbd795fe718 100644 --- a/configs/default +++ b/configs/default @@ -119,7 +119,7 @@ APP_LIB_DEPS = $(EXTRA_LIB_PATH) -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LI # Program dependencies - specific GL/glut libraries added in Makefiles APP_LIB_DEPS = -lm - +X11_LIBS = -lX11 # Installation directories (for make install) INSTALL_DIR = /usr/local