From bbbf0767314ad86932380126374b4aba250945ce Mon Sep 17 00:00:00 2001 From: Jess Robinson Date: Thu, 31 Jan 2013 14:15:17 +0000 Subject: [PATCH] Android hints: set targetsh to /system/bin/sh Android, for reasons best known to itself, doesn't have a "/bin/sh" it has a "/system/bin/sh". We need to run "/bin/sh" as $sh inside ./Configure on the host, but store a different path for use on the actual Android system (eg by backticks, system etc, in SH_PATH). The new variable is "targetsh" and defaults to "sh" unless changed by the hints file/Configure params. --- hints/linux-android.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 0920ce8..cc7895c 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -2,9 +2,8 @@ userelocatableinc='define' -# Having fun with the dlopen check.. :( -#d_dlopen='define' -#d_dlerror='define' +# On Android the shell is /system/bin/sh: +targetsh='/system/bin/sh' case "$src" in -- 2.7.4