summaryrefslogtreecommitdiff
path: root/hints/linux-android.sh
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-08-21 00:38:14 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-26 14:44:20 -0300
commit0a6fcaf895e3cf641b08cd332560335f0d48bdf8 (patch)
treec489dfce9aa8e20e445a7b47a3f46510fceceae2 /hints/linux-android.sh
parent47f59fc1da13da3210c9f3c514da8382eedf57c0 (diff)
downloadperl-0a6fcaf895e3cf641b08cd332560335f0d48bdf8.tar.gz
Android hints: Only set userelocatableinc if it doesn't have a value
Without this, Configure would've bailed out if trying to build a -Duseshrplib perl.
Diffstat (limited to 'hints/linux-android.sh')
-rw-r--r--hints/linux-android.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh
index 0c7d26c862..3d2c3ce10f 100644
--- a/hints/linux-android.sh
+++ b/hints/linux-android.sh
@@ -1,7 +1,9 @@
# set -x
# Install the perl and its libraries anywhere:
-userelocatableinc='define'
+case "$userelocatableinc" in
+'') userelocatableinc='define' ;;
+esac
# The Android linker has some unusual behavior: No matter what
# path is passed in to dlopen(), it'll only use the path's