OLD | NEW |
1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 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 NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure | 5 NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure |
6 | 6 |
7 if [ "${NACL_SHARED}" = "0" ]; then | 7 if [ "${NACL_SHARED}" = "1" ]; then |
| 8 MAKE_TARGETS="libmk4.so libmk4.a" |
| 9 else |
8 EXTRA_CONFIGURE_ARGS="--disable-shared" | 10 EXTRA_CONFIGURE_ARGS="--disable-shared" |
9 MAKE_TARGETS="libmk4.a" | 11 MAKE_TARGETS="libmk4.a" |
10 else | |
11 MAKE_TARGETS="libmk4.so libmk4.a" | |
12 fi | 12 fi |
13 | 13 |
14 AutoconfStep() { | 14 AutoconfStep() { |
15 pushd ${SRC_DIR}/unix | 15 pushd ${SRC_DIR}/unix |
16 autoconf | 16 autoconf |
17 popd | 17 popd |
18 } | 18 } |
19 | 19 |
20 ConfigureStep() { | 20 ConfigureStep() { |
21 AutoconfStep | 21 AutoconfStep |
22 DefaultConfigureStep | 22 DefaultConfigureStep |
23 } | 23 } |
OLD | NEW |