Android hints: In native builds, add -L/system/lib to ldflags
authorBrian Fraser <fraserbn@gmail.com>
Wed, 22 Jan 2014 11:23:00 +0000 (08:23 -0300)
committerBrian Fraser <fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:21 +0000 (14:44 -0300)
This is just a safety net against the linker being weird.

hints/linux-android.sh

index ae031cb..974043a 100644 (file)
@@ -256,6 +256,9 @@ if $test "X$hostosname" = "Xdarwin"; then
   firstmakefile=GNUmakefile;
 fi
 ;;
+*)
+ldflags="$ldflags -L/system/lib"
+;;
 esac
 
 osvers="`$run getprop ro.build.version.release`"