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

Unified Diff: libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 11 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
Index: libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh
diff --git a/libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh b/libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh
index b40cbd98aace3810a97ab0b7a2d05c350e35b762..de6ab151d37a4159daa8bae6e1ab9c1b623d7441 100755
--- a/libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh
+++ b/libraries/bzip2-1.0.6/nacl-bzip2-1.0.6.sh
@@ -32,12 +32,12 @@ CustomInstallStep() {
# Don't rely on make install, as it implicitly builds executables
# that need things not available in newlib.
- mkdir -p ${NACL_SDK_USR}/include
- cp -f bzlib.h ${NACL_SDK_USR}/include
- chmod a+r ${NACL_SDK_USR}/include/bzlib.h
- mkdir -p ${NACL_SDK_USR}/lib
- cp -f libbz2.a ${NACL_SDK_USR}/lib
- chmod a+r ${NACL_SDK_USR}/lib/libbz2.a
+ mkdir -p ${NACLPORTS_PREFIX}/include
+ cp -f bzlib.h ${NACLPORTS_PREFIX}/include
+ chmod a+r ${NACLPORTS_PREFIX}/include/bzlib.h
+ mkdir -p ${NACLPORTS_PREFIX}/lib
+ cp -f libbz2.a ${NACLPORTS_PREFIX}/lib
+ chmod a+r ${NACLPORTS_PREFIX}/lib/libbz2.a
DefaultTouchStep
}

Powered by Google App Engine
This is Rietveld 408576698