Chromium Code Reviews| Index: ports/cairo/build.sh |
| diff --git a/ports/cairo/build.sh b/ports/cairo/build.sh |
| index d4a07cbd7a300c56cc46fbf1c090d0c4bfd504a8..1ed2727194b93aaf54b96cec1d7c2418a1612e1d 100644 |
| --- a/ports/cairo/build.sh |
| +++ b/ports/cairo/build.sh |
| @@ -20,6 +20,10 @@ else |
| export LIBS+=" ${NACL_CLI_MAIN_LIB}" |
| fi |
| +if [ "${NACL_LIBC}" == "newlib" ]; then |
| + NACLPORTS_LDFLAGS+=" -lglibc-compat" |
| +fi |
| + |
| EXECUTABLES="test/cairo-test-suite${NACL_EXEEXT}" |
| # This is only necessary for pnacl |