summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-06-11 19:38:07 +0100
committerJosé Fonseca <[email protected]>2012-06-11 19:38:07 +0100
commitea606ee7b49d130fdedd5a707e79fc9e37ba280c (patch)
treee059ab4f81bcb17647605b22b93f7577dc971d65 /src
parentf3cdcb839f534a3062864b06ec6689717ed102a1 (diff)
scons: Fix scons build.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/Makefile.sources2
-rw-r--r--src/mesa/sources.mak2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/Makefile.sources b/src/glsl/Makefile.sources
index b58de179bdd..0425fa33ea5 100644
--- a/src/glsl/Makefile.sources
+++ b/src/glsl/Makefile.sources
@@ -1,5 +1,7 @@
# shared source lists for Makefile, SConscript, and Android.mk
+GLSL_SRCDIR ?= .
+
# libglcpp
LIBGLCPP_FILES = \
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 63fbf58c6af..608aa79abf4 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -1,5 +1,7 @@
### Lists of source files, included by Makefiles
+SRCDIR ?= .
+
# this is part of MAIN_FILES
MAIN_ES_FILES = \
$(SRCDIR)/main/api_exec_es1.c \