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

Side by Side Diff: ports/bzip2/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, 1 month 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 unified diff | Download patch
« no previous file with comments | « ports/busybox/build.sh ('k') | ports/cairo/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 EXECUTABLES="bzip2" 6 EXECUTABLES="bzip2"
7 7
8 NACLPORTS_CFLAGS+=" -Dmain=nacl_main -fPIC" 8 EnableCliMain
9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" 9 NACLPORTS_CFLAGS+=" -fPIC"
10 10
11 ConfigureStep() { 11 ConfigureStep() {
12 return 12 return
13 } 13 }
14 14
15 BuildStep() { 15 BuildStep() {
16 SetupCrossEnvironment 16 SetupCrossEnvironment
17 LogExecute make clean 17 LogExecute make clean
18 LogExecute make \ 18 LogExecute make \
19 CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" \ 19 CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" \
(...skipping 18 matching lines...) Expand all
38 LogExecute cp -f bzip2 ${DESTDIR}${PREFIX}/bin 38 LogExecute cp -f bzip2 ${DESTDIR}${PREFIX}/bin
39 LogExecute chmod a+r ${DESTDIR_INCLUDE}/bzlib.h 39 LogExecute chmod a+r ${DESTDIR_INCLUDE}/bzlib.h
40 40
41 LogExecute cp -f libbz2.a ${DESTDIR_LIB} 41 LogExecute cp -f libbz2.a ${DESTDIR_LIB}
42 if [ -f libbz2.so.1.0 ]; then 42 if [ -f libbz2.so.1.0 ]; then
43 LogExecute ln -s libbz2.so.1.0 libbz2.so 43 LogExecute ln -s libbz2.so.1.0 libbz2.so
44 LogExecute cp -af libbz2.so* ${DESTDIR_LIB} 44 LogExecute cp -af libbz2.so* ${DESTDIR_LIB}
45 fi 45 fi
46 LogExecute chmod a+r ${DESTDIR_LIB}/libbz2.* 46 LogExecute chmod a+r ${DESTDIR_LIB}/libbz2.*
47 } 47 }
OLDNEW
« no previous file with comments | « ports/busybox/build.sh ('k') | ports/cairo/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698