diff options
| author | Tim Murray <timmurray@google.com> | 2014-09-30 12:37:22 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2014-09-30 15:12:06 -0700 |
| commit | f7dfd22fc82c01ac59f4e61683eb231d8738bab0 (patch) | |
| tree | 4f3cf0c460e81879298d6c7fd9605b8e20f4ede6 | |
| parent | 5062fcb7c2268f58ea1c79da3a7618a27e2b41dd (diff) | |
Update prebuilts script to use new host lib directory.
Change-Id: I5ac7a5fd78d194e69e4713f057ecb45401bdd637
| -rwxr-xr-x | update_rs_prebuilts.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/update_rs_prebuilts.sh b/update_rs_prebuilts.sh index 2f0163b5..362a0c04 100755 --- a/update_rs_prebuilts.sh +++ b/update_rs_prebuilts.sh @@ -45,6 +45,9 @@ ANDROID_HOST_OUT=$MY_ANDROID_DIR/out/host/$SHORT_OSNAME-x86/ # HOST_LIB_DIR allows us to pick up the built librsrt_*.bc libraries. HOST_LIB_DIR=$ANDROID_HOST_OUT/lib +# HOST_LIB64_DIR +HOST_LIB64_DIR=$ANDROID_HOST_OUT/lib64 + # PREBUILTS_DIR is where we want to copy our new files to. PREBUILTS_DIR=$MY_ANDROID_DIR/prebuilts/sdk/ @@ -130,7 +133,7 @@ if [ $DARWIN -eq 0 ]; then for a in `find renderscript/lib/$t -name \*.bc`; do file=`basename $a` - cp `find $HOST_LIB_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 5 + cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 5 done done |
