NativeCopyConfig
final class NativeCopyConfig(val tempDirectory: Path, val explicitLibraries: Seq[Path], val searchPaths: Seq[Path])
Configures a NativeCopyLoader.
The loader will provide native libraries listed in explicitLibraries
and on searchPaths
by copying them to tempDirectory
.
If tempDirectory
is unique to the class loader, this ensures that the class loader gets a unique path for
the native library and avoids the restriction on a native library being loaded by a single class loader.
class Object
trait Matchable
class Any