summaryrefslogtreecommitdiff
path: root/hints/linux-android.sh
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2014-08-20 20:25:18 +0200
committerBrian Fraser <fraserbn@gmail.com>2014-08-20 20:27:19 +0200
commit42b5146c146a72ef7462ac4ca82888f5ab3cbcfe (patch)
treec163cb1f7544ea3c8feead85094a57205323c482 /hints/linux-android.sh
parentff44ff0cff6fd900c7ab2c2483f4f54d6652d1ab (diff)
downloadperl-42b5146c146a72ef7462ac4ca82888f5ab3cbcfe.tar.gz
Android hints: Always append /system/lib and /vendor/lib in libpth
These are the canonical directories for libraries on Android. This is only mildly important for native builds, since whatever toolchain was installed will likely provide their own /lib, but is quite important for cross builds.
Diffstat (limited to 'hints/linux-android.sh')
-rw-r--r--hints/linux-android.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh
index a89eeb7e4e..fdfe64a020 100644
--- a/hints/linux-android.sh
+++ b/hints/linux-android.sh
@@ -286,6 +286,7 @@ esac
$cat <<'EOO' >> $pwd/config.arch
osname='android'
+eval "libpth='$libpth /system/lib /vendor/lib'"
if $test "X$procselfexe" = X; then
case "$d_procselfexe" in