From a3e942e6ee35e5e105406fa6a99d2b5b29475852 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 19 Aug 2015 16:38:32 +0200 Subject: build: configure: Prepend $SYSROOT to NACL_{INC,LIB}_DIR Otherwise nacl will not get picked up when cross-compiling. Signed-off-by: Tobias Klauser --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 039858c..30ad368 100755 --- a/configure +++ b/configure @@ -141,11 +141,11 @@ int main(void) { } EOF if [ -z $NACL_INC_DIR ] ; then - NACL_INC_DIR="/usr/include/nacl" + NACL_INC_DIR="$SYSROOT/usr/include/nacl" fi if [ -z $NACL_LIB_DIR ] ; then - NACL_LIB_DIR="/usr/lib" + NACL_LIB_DIR="$SYSROOT/usr/lib" fi if [ -z $NACL_LIB ] ; then -- cgit v1.2.3-54-g00ecf