Chromium Code Reviews| Index: ports/python-static/build.sh |
| diff --git a/ports/python-static/build.sh b/ports/python-static/build.sh |
| index fab33e82d0ed19d21a33cd76b79d814bfa43b9db..8da9a542df738e7db75b099a361ab7ba73514eb6 100644 |
| --- a/ports/python-static/build.sh |
| +++ b/ports/python-static/build.sh |
| @@ -37,7 +37,7 @@ ConfigureStep() { |
| export MACHDEP=ppapi |
| export LINKCC=${NACLCXX} |
| if [ "${NACL_LIBC}" = "newlib" ]; then |
| - LIBS+=" -lglibc-compat -lc" |
| + LIBS+=" -lglibc-compat" |
| NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| fi |
| LogExecute cp ${START_DIR}/dynload_ppapi.c ${SRC_DIR}/Python/ |
| @@ -57,9 +57,9 @@ ConfigureStep() { |
| # Not sure why -uPSUserMainGet is needed here. NACL_CLI_MAIN_LIB already |
| # contains -uPSUserCreateInstance which should be enough to pull in both |
| # symbols (they live int he same object file in libcli_main.a). |
| - PY_LINK_LINE+=" ${PY_MOD_LIBS} -Wl,-uPSUserMainGet ${NACL_CLI_MAIN_LIB}" |
| + PY_LINK_LINE+=" ${PY_MOD_LIBS} -Wl,-uPSUserMainGet -lcli_main -lnacl_spawn" |
|
bradn
2015/02/13 02:12:32
Don't you want to drop this -lcli_main ?
I thought
gdeepti
2015/02/13 21:43:56
I think this one still uses cli_main as the entry
|
| PY_LINK_LINE+=" -lz -lppapi_simple -lppapi -lppapi_cpp -lnacl" |
| - PY_LINK_LINE+=" -lnacl_io -lc -lbz2" |
| + PY_LINK_LINE+=" -lnacl_io -lbz2" |
| if [ "${NACL_LIBC}" = "newlib" ]; then |
| PY_LINK_LINE+=" -lglibc-compat" |
| fi |