| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 export ac_cv_func_gethostbyname=yes | 5 export ac_cv_func_gethostbyname=yes |
| 6 export ac_cv_func_getaddrinfo=no | 6 export ac_cv_func_getaddrinfo=no |
| 7 export ac_cv_func_connect=yes | 7 export ac_cv_func_connect=yes |
| 8 export LIBS="-lnacl_io -pthread -l${NACL_CXX_LIB}" | 8 export LIBS="-lnacl_io -pthread -l${NACL_CXX_LIB}" |
| 9 | 9 |
| 10 if [ "${NACL_LIBC}" = "newlib" ]; then | 10 if [ "${NACL_LIBC}" = "newlib" ]; then |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 MakeDir ${PUBLISH_DIR} | 60 MakeDir ${PUBLISH_DIR} |
| 61 | 61 |
| 62 local exe=${PUBLISH_DIR}/curl_ppapi_${NACL_ARCH}${NACL_EXEEXT} | 62 local exe=${PUBLISH_DIR}/curl_ppapi_${NACL_ARCH}${NACL_EXEEXT} |
| 63 | 63 |
| 64 LogExecute mv src/${EXECUTABLE_DIR}/curl_ppapi${NACL_EXEEXT} ${exe} | 64 LogExecute mv src/${EXECUTABLE_DIR}/curl_ppapi${NACL_EXEEXT} ${exe} |
| 65 if [ "${NACL_ARCH}" = "pnacl" ]; then | 65 if [ "${NACL_ARCH}" = "pnacl" ]; then |
| 66 LogExecute ${PNACLFINALIZE} ${exe} | 66 LogExecute ${PNACLFINALIZE} ${exe} |
| 67 fi | 67 fi |
| 68 | 68 |
| 69 pushd ${PUBLISH_DIR} | 69 pushd ${PUBLISH_DIR} |
| 70 ${SRC_DIR}/lib/mk-ca-bundle.pl |
| 70 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \ | 71 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \ |
| 71 ${PUBLISH_DIR}/curl_ppapi*${NACL_EXEEXT} \ | 72 ${PUBLISH_DIR}/curl_ppapi*${NACL_EXEEXT} \ |
| 72 -L${DESTDIR_LIB} \ | 73 -L${DESTDIR_LIB} \ |
| 73 -s . \ | 74 -s . \ |
| 74 -o curl.nmf | 75 -o curl.nmf |
| 75 popd | 76 popd |
| 76 | 77 |
| 77 InstallNaClTerm ${PUBLISH_DIR} | 78 InstallNaClTerm ${PUBLISH_DIR} |
| 78 LogExecute cp ${START_DIR}/index.html ${PUBLISH_DIR} | 79 LogExecute cp ${START_DIR}/index.html ${PUBLISH_DIR} |
| 79 LogExecute cp ${START_DIR}/curl.js ${PUBLISH_DIR} | 80 LogExecute cp ${START_DIR}/curl.js ${PUBLISH_DIR} |
| 80 } | 81 } |
| OLD | NEW |