diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-08-19 16:38:32 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-08-19 16:38:32 +0200 |
commit | a3e942e6ee35e5e105406fa6a99d2b5b29475852 (patch) | |
tree | fc5a72faae869e3673857c120aa766525e09a91a /configure | |
parent | 31336db7a7bc46636dc296684ada419463cab232 (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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |