progs: Fix linking of Xlib demos for non-autoconf builds
authorDan Nicholson <dbn.lists@gmail.com>
Thu, 1 Apr 2010 21:59:10 +0000 (14:59 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Thu, 1 Apr 2010 22:03:33 +0000 (15:03 -0700)
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.

configs/default

index 77a9898775c9ec1c1672bee321469d222450a422..593fc32b7d699d021cec701585da70d805039a65 100644 (file)
@@ -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