Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

native libraryDependencies - also remove version tag from .so filename

  • Loading branch information...
commit 55afb530cbf7e6db33786229f9d7e3479649503c 1 parent b2930bc
@appamatto authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/main/scala/AndroidBase.scala
View
3  src/main/scala/AndroidBase.scala
@@ -12,7 +12,8 @@ object AndroidBase {
def getNativeTarget(parent: File, name: String, abi: String) = {
val extension = "-" + abi + ".so"
if (name endsWith extension) {
- val target = new File(abi) / name.replace(extension, ".so")
+ val stripped = name.substring(0, name indexOf '-') + ".so"
+ val target = new File(abi) / stripped
Some(parent / target.toString)
} else None
}
Please sign in to comment.
Something went wrong with that request. Please try again.