Add hard coded secp256k1 files for linux x86_64 bit arch (#263)

* Add hard coded secp256k1 files for linux x86_64 bit arch

* Add binary files that ignored in .gitignore
This commit is contained in:
Chris Stewart 2018-12-11 15:38:17 -05:00 committed by GitHub
parent a8e513fd0c
commit 44bccce602
9 changed files with 55 additions and 1 deletions

View File

@ -1 +0,0 @@
-Djava.library.path=secp256k1/.libs/

View File

@ -51,6 +51,9 @@ lazy val root = project
lazy val secp256k1jni = project
.in(file("secp256k1jni"))
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Deps.secp256k1jni
)
.enablePlugins()
lazy val core = project

View File

@ -14,6 +14,8 @@ object Deps {
val playv = "2.6.10"
val scodecV = "1.1.6"
val junitV = "0.11"
val bitcoinsV = "0.0.1-SNAPSHOT"
}
object Compile {
@ -25,6 +27,8 @@ object Deps {
val akkaStream = "com.typesafe.akka" %% "akka-stream" % V.akkaStreamv withSources() withJavadoc()
val playJson = "com.typesafe.play" %% "play-json" % V.playv withSources() withJavadoc()
val secp256k1jni = "org.bitcoins" % "secp256k1jni" % V.bitcoinsV
val logback = "ch.qos.logback" % "logback-classic" % V.logback withSources() withJavadoc()
}
@ -45,6 +49,10 @@ object Deps {
Compile.slf4j
)
val secp256k1jni = List(
Test.junitInterface
)
val coreGen = List(
Compile.slf4j,
Test.scalacheck

Binary file not shown.

View File

@ -0,0 +1 @@
../libsecp256k1.la

View File

@ -0,0 +1,41 @@
# libsecp256k1.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-0.1
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libsecp256k1.so.0'
# Names of this library.
library_names='libsecp256k1.so.0.0.0 libsecp256k1.so.0 libsecp256k1.so'
# The name of the static archive.
old_library='libsecp256k1.a'
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=' -lgmp'
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libsecp256k1.
current=0
age=0
revision=0
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/usr/local/lib'

View File

@ -0,0 +1 @@
libsecp256k1.so.0.0.0

View File

@ -0,0 +1 @@
libsecp256k1.so.0.0.0