| Index: ports/python3/build.sh
|
| diff --git a/ports/python3/build.sh b/ports/python3/build.sh
|
| index 065a042adf3e70caf0b0e8b68480e2334d7267e8..ead4c1c89aae2cc487c4348ab61cf61c2136396a 100644
|
| --- a/ports/python3/build.sh
|
| +++ b/ports/python3/build.sh
|
| @@ -4,8 +4,6 @@
|
|
|
| EXECUTABLES=python${NACL_EXEEXT}
|
|
|
| -NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
|
| -
|
| # Currently this package only builds on linux.
|
| # The build relies on certain host binaries and python's configure
|
| # requires us to set --build= as well as --host=.
|
| @@ -52,13 +50,13 @@ ConfigureStep() {
|
| export ac_cv_header_sys_xattr_h=no
|
| fi
|
| NACLPORTS_LIBS+=" -ltermcap"
|
| - NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}"
|
| if [ "${NACL_LIBC}" = "newlib" ]; then
|
| # When python builds with wait3/wait4 support it also expects struct rusage
|
| # to have certain fields and newlib lacks.
|
| export ac_cv_func_wait3=no
|
| export ac_cv_func_wait4=no
|
| fi
|
| + EnableCliMain
|
| EnableGlibcCompat
|
| DefaultConfigureStep
|
| if [ "${NACL_LIBC}" = "newlib" ]; then
|
|
|