diff options
Diffstat (limited to 'platform_tools/nacl/nacl_make')
-rwxr-xr-x | platform_tools/nacl/nacl_make | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform_tools/nacl/nacl_make b/platform_tools/nacl/nacl_make index 74b85718d6..97a1e9ed64 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 { |