aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/emscripten/emscripten.h (renamed from system/include/emscripten.h)0
-rw-r--r--tools/shared.py1
2 files changed, 1 insertions, 0 deletions
diff --git a/system/include/emscripten.h b/system/include/emscripten/emscripten.h
index e265e8fd..e265e8fd 100644
--- a/system/include/emscripten.h
+++ b/system/include/emscripten/emscripten.h
diff --git a/tools/shared.py b/tools/shared.py
index 3e2ce04e..f76aa7f2 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -199,6 +199,7 @@ if USE_EMSDK:
# allows projects to override them)
EMSDK_OPTS = ['-nostdinc', '-nostdinc++', '-Xclang', '-nobuiltininc', '-Xclang', '-nostdinc++', '-Xclang', '-nostdsysteminc',
'-Xclang', '-isystem' + path_from_root('system', 'include'),
+ '-Xclang', '-isystem' + path_from_root('system', 'include', 'emscripten'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'bsd'), # posix stuff
'-Xclang', '-isystem' + path_from_root('system', 'include', 'libc'),
'-Xclang', '-isystem' + path_from_root('system', 'include', 'libcxx'),