mesa: fix build of stand-alone glslcompiler driver
authorBrian Paul <brianp@vmware.com>
Tue, 13 Jan 2009 21:39:55 +0000 (14:39 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Jan 2009 00:50:44 +0000 (17:50 -0700)
src/mesa/drivers/glslcompiler/Makefile

index dc4abd44d4937fc9168fed27e63ef15c5a296148..ffe4e0a23434e573979f950fe6ea31a87051b1af 100644 (file)
@@ -33,7 +33,7 @@ default: $(PROGRAM)
 
 
 glslcompiler: $(OBJECTS)
-       $(CC) $(OBJECTS) -lm -lpthread -o $@
+       $(CC) $(OBJECTS) $(GL_LIB_DEPS) -o $@
 
 
 glslcompiler.o: glslcompiler.c