| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 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 NACLPORTS_LIBS+=" -lnacl_io" |
| 6 |
| 5 # The transtive dependencies of libxpm include nacl_io which is | 7 # The transtive dependencies of libxpm include nacl_io which is |
| 6 # written in C++. Without this sxpm binary fails to link. | 8 # written in C++. Without this sxpm binary fails to link. |
| 7 if [ "${NACL_SHARED}" != "1" ]; then | 9 if [[ ${NACL_SHARED} != 1 ]]; then |
| 8 NACLPORTS_LIBS+=" -l${NACL_CXX_LIB} -pthread" | 10 NACLPORTS_LIBS+=" -l${NACL_CXX_LIB} -pthread" |
| 9 fi | 11 fi |
| OLD | NEW |