From: Peter Hutterer Date: Mon, 7 Sep 2009 00:49:31 +0000 (+1000) Subject: prog/glsl: fix Makefile for samplers_array. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf19638a003f0915d3d5419b737c2006a8f24a31;p=mesa.git prog/glsl: fix Makefile for samplers_array. The rule added in 488b3c4d1bc3d830477180759a42dbaf8f5801b0 does not use the right INCDIR, breaking the build when GL isn't installed in the default include paths. 7.5 branch only fix, already fixed in master by rewriting the Makefile (ceb9459ed5e63207defa5d715958c2757933272f) Signed-off-by: Peter Hutterer --- diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 6af7a665cf1..37ccf8a9eaf 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -190,7 +190,7 @@ samplers: samplers.o $(UTIL_OBJS) samplers_array.o: samplers.c $(UTIL_HEADERS) - $(APP_CC) $(CFLAGS) -DSAMPLERS_ARRAY $< -c -o $@ + $(APP_CC) -I$(INCDIR) $(CFLAGS) -DSAMPLERS_ARRAY $< -c -o $@ samplers_array: samplers_array.o $(UTIL_OBJS)