From e7fb463e8d4bee99a8919a2a2d1c8a3e34d44560 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Sat, 11 Jan 2014 12:09:40 +0100 Subject: [PATCH] retrieve payload file name from the config object --- lib/motion/project/template/android.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/template/android.rb b/lib/motion/project/template/android.rb index 6d134d2b..caeb681c 100644 --- a/lib/motion/project/template/android.rb +++ b/lib/motion/project/template/android.rb @@ -31,7 +31,7 @@ require 'motion/project/template/android/config' desc "Create an application package file (.apk)" task :build do - libpayload_subpath = "lib/armeabi/libpayload.so" + libpayload_subpath = "lib/armeabi/#{App.config.payload_library_name}" # XXX FileUtils.mkdir_p("#{App.config.build_dir}/#{File.dirname(libpayload_subpath)}")