From fc4f7f8f0baf377b3696ae69a8c198d6f915149c Mon Sep 17 00:00:00 2001 From: gardners Date: Sat, 17 Mar 2012 09:37:00 +1030 Subject: [PATCH] Updated nacl-gcc-prep call to run in nacl directory where the script now lives. --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index 190ba081..088f57a1 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,9 @@ AC_CHECK_HEADERS(stdio.h errno.h stdlib.h strings.h unistd.h string.h arpa/inet. echo "Fetching and building NaCl if required." echo "(this can take HOURS to build depending on your architecture," echo " but fortunately it only needs to happen once.)" +cd nacl ./nacl-gcc-prep +cd .. LDFLAGS="$LDFLAGS "`cat naclbuilddir.txt`"/libnacl.a" AC_CHECK_LIB(nsl,callrpc,[LDFLAGS="$LDFLAGS -lnsl"])