Index: platform_tools/nacl/nacl_make |
diff --git a/platform_tools/nacl/nacl_make b/platform_tools/nacl/nacl_make |
index 74b85718d624bd6ef06281ef51d9d2a3e2f58a43..97a1e9ed641dd41a098d00182db7b28b3c4e166d 100755 |
--- a/platform_tools/nacl/nacl_make |
+++ b/platform_tools/nacl/nacl_make |
@@ -64,8 +64,9 @@ function setenv { |
exportVar AR "${NACLAR}" |
exportVar RANLIB "${NACLRANLIB}" |
exportVar PATH ${NACL_BIN_PATH}:${PATH}; |
- |
- exportVar GYP_DEFINES "skia_os=nacl skia_arch_width=${ARCH_WIDTH}" |
+ exportVar C_INCLUDE_PATH "${NACL_SDK_ROOT}/include:${NACL_SDK_ROOT}/ports/include:${C_INCLUDE_PATH}" |
+ exportVar CPLUS_INCLUDE_PATH "${NACL_SDK_ROOT}/include:${NACL_SDK_ROOT}/ports/include:${CPLUS_INCLUDE_PATH}" |
+ exportVar GYP_DEFINES "skia_os=nacl skia_gpu=0 skia_arch_width=${ARCH_WIDTH}" |
} |
function build { |