From: Keith Whitwell Date: Wed, 14 Apr 2004 13:31:09 +0000 (+0000) Subject: Link against GL_LIB_DEPS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b3780cd83a5c8aade00d99e3d1517b4f6b7bb5b;p=mesa.git Link against GL_LIB_DEPS --- diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 487cc43063a..6eceaa3f6d5 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -67,8 +67,8 @@ default: depend $(LIB_DIR)/$(LIBNAME) # $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES) $(OBJECTS) -$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile - rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) -lGL -lc -lm +$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile ../Makefile.template + rm -f $@ && gcc -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(GL_LIB_DEPS)