diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-01-23 23:41:22 +0100 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 14:44:21 -0300 |
commit | 081c3f5046f7dc6414b133a6c9a5aac8d97c900f (patch) | |
tree | 390b59759c05d5d184b483346c6cd04e81d30dee /hints | |
parent | ac0b53aa96c1e69a4a23cceca7b967c4561ddec0 (diff) | |
download | perl-081c3f5046f7dc6414b133a6c9a5aac8d97c900f.tar.gz |
Android hints: Set d_csh to undef in cross builds
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux-android.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 0f290591c4..7086d47d93 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -257,6 +257,16 @@ define) if $test "X$hostosname" = "Xdarwin"; then firstmakefile=GNUmakefile; fi + +# When cross-compiling, full_csh and d_csh will get the +# host's values, which is all sorts of wrong. So unless +# full_csh has been set on the command line, set d_csh to +# undef. +case "$full_csh" in +'') d_csh="$undef" +;; +esac + ;; *) ldflags="$ldflags -L/system/lib" |