summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-07 10:49:31 +1000
committerDave Airlie <airlied@redhat.com>2009-09-07 12:37:54 +1000
commitbf19638a003f0915d3d5419b737c2006a8f24a31 (patch)
treed23a950d77040298607c33a67202f54eab294779
parentb2cba25f9eecf2063c3b98d66ade59cd9e50990e (diff)
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 <peter.hutterer@who-t.net>
-rw-r--r--progs/glsl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile
index 6af7a665cf..37ccf8a9ea 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)