| Index: ports/libxpm/build.sh
|
| diff --git a/ports/libxpm/build.sh b/ports/libxpm/build.sh
|
| index 39a35e2254465a8065a30d1cb339a32e3d3d3e8f..d569c8e0347ea1aef8a1f94f740dffc3b74a2834 100644
|
| --- a/ports/libxpm/build.sh
|
| +++ b/ports/libxpm/build.sh
|
| @@ -2,8 +2,10 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +NACLPORTS_LIBS+=" -lnacl_io"
|
| +
|
| # The transtive dependencies of libxpm include nacl_io which is
|
| # written in C++. Without this sxpm binary fails to link.
|
| -if [ "${NACL_SHARED}" != "1" ]; then
|
| +if [[ ${NACL_SHARED} != 1 ]]; then
|
| NACLPORTS_LIBS+=" -l${NACL_CXX_LIB} -pthread"
|
| fi
|
|
|