summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-08-19 16:38:32 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-08-19 16:38:32 +0200
commita3e942e6ee35e5e105406fa6a99d2b5b29475852 (patch)
treefc5a72faae869e3673857c120aa766525e09a91a
parent31336db7a7bc46636dc296684ada419463cab232 (diff)
build: configure: Prepend $SYSROOT to NACL_{INC,LIB}_DIR
Otherwise nacl will not get picked up when cross-compiling. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rwxr-xr-xconfigure4
1 files 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