diff options
author | 2013-05-23 13:54:49 -0400 | |
---|---|---|
committer | 2013-05-23 13:54:49 -0400 | |
commit | 93e8893cf37080306ec522d389f7e4ecceb84355 (patch) | |
tree | 03151b380232a0b41943723b671857b7b9f48d6d /standalone/android/runshell | |
parent | 90cc410cfbc9f94aeda702b44e49d0169cce75a5 (diff) |
Android app: Avoid using hard links to app's lib directory, which is sometimes on a different filesystem than the data directory.
Assumes symlinks work on all android. If not, this would need to be adapted
to try both. This worked for me.
Diffstat (limited to 'standalone/android/runshell')
-rwxr-xr-x | standalone/android/runshell | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell index 0bd193b74..5e461f062 100755 --- a/standalone/android/runshell +++ b/standalone/android/runshell @@ -27,7 +27,7 @@ buildtree () { if $cmd test -e "$base/bin/$prog"; then $cmd rm -f "$base/bin/$prog" fi - $cmd ln "$base/lib/lib.$prog.so" "$base/bin/$prog" + $cmd ln -s "$base/lib/lib.$prog.so" "$base/bin/$prog" done $cmd --install $base/bin @@ -41,7 +41,7 @@ buildtree () { if $cmd test -e "$base/$link"; then $cmd rm -f "$base/$link" fi - $cmd ln "$base/bin/$prog" "$base/$link" + $cmd ln -s "$base/bin/$prog" "$base/$link" done $cmd rm -f "$base/links/$prog" done |