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

Unified Diff: ports/python/build.sh

Issue 1417373005: Fix shared library support in glibc python build (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 | « build_tools/common.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/python/build.sh
diff --git a/ports/python/build.sh b/ports/python/build.sh
index ef0df31e8c84eb01ad6017f135a762ecfff01533..5901f91958d2648f8e42c553b1808841533bbeea 100644
--- a/ports/python/build.sh
+++ b/ports/python/build.sh
@@ -82,7 +82,6 @@ PublishStep() {
local assembly_dir=${PUBLISH_DIR}
MakeDir ${assembly_dir}
-
ChangeDir ${assembly_dir}
if [[ $TOOLCHAIN == pnacl ]]; then
local tar_file=pydata.tar
@@ -100,6 +99,12 @@ PublishStep() {
fi
LogExecute tar cf ${tar_file} -C ${INSTALL_DIR}${PREFIX} lib/python2.7
+ if [[ $NACL_SHARED == 1 ]]; then
+ # Extra shared libraries depedencies requires by python loadable modules
+ LogExecute tar rf ${tar_file} -h -C ${NACL_PREFIX} lib/libz.so.1 \
+ lib/libreadline.so lib/libncurses.so.5 lib/libbz2.so.1.0 \
bradnelson 2015/10/27 17:34:23 Just so I'm clear, these are missed because they c
+ lib/libssl.so.1.0.0 lib/libcrypto.so.1.0.0
+ fi
LogExecute shasum ${tar_file} > ${tar_file}.hash
LogExecute python ${TOOLS_DIR}/create_term.py python.nmf
« no previous file with comments | « build_tools/common.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698