diff options
Diffstat (limited to 'plugin/src/main/scala')
-rw-r--r-- | plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniPackage.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniPackage.scala b/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniPackage.scala index 0abd814..fe627a9 100644 --- a/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniPackage.scala +++ b/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniPackage.scala @@ -52,7 +52,7 @@ object JniPackage extends AutoPlugin { unmanagedNativeLibraries := { val baseDirs: Seq[File] = unmanagedNativeDirectories.value val mappings: Seq[(File, String)] = unmanagedNativeDirectories.value.flatMap { dir => - val files: Seq[File] = (dir ** "*").get + val files: Seq[File] = (dir ** "*").get.filter(_.isFile) files pair rebase(dir, "/native") } mappings |