Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: ports/python3/build.sh

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/python/build.sh ('k') | ports/ruby-ppapi/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ports/python/build.sh ('k') | ports/ruby-ppapi/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698