Index: tools/build_shaderc.py |
diff --git a/tools/build_shaderc.py b/tools/build_shaderc.py |
index 1f05e84672412d79b16044f48a7668c001f4b3f6..dae0054cfdc9dd8b5f6a669e6394f7ed3baed1df 100644 |
--- a/tools/build_shaderc.py |
+++ b/tools/build_shaderc.py |
@@ -64,7 +64,8 @@ def main(): |
try: |
subprocess.check_call(['cmake', '-G', generator, |
- '-DSPIRV_SKIP_EXECUTABLES=ON', args.src_dir], cwd=args.output_dir) |
+ '-DSPIRV_SKIP_EXECUTABLES=ON', '-DSHADERC_ENABLE_SHARED_CRT=ON', |
+ args.src_dir], cwd=args.output_dir) |
except subprocess.CalledProcessError as error: |
sys.exit('Error (ret code: {code}) calling "{cmd}" in {dir}'.format( |
code = error.returncode, cmd = error.cmd, dir = args.src_dir)) |