summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/SConscript b/src/glsl/SConscript
index 1757605f7cb..577aedfe617 100644
--- a/src/glsl/SConscript
+++ b/src/glsl/SConscript
@@ -80,6 +80,10 @@ sources = [
'strtod.c',
]
+if env['msvc']:
+ env.Prepend(CPPPATH = ['#/src/getopt'])
+ env.PrependUnique(LIBS = [getopt])
+
env.Prepend(LIBS = ['talloc'])
env.Append(CPPPATH = ['#/src/glsl'])