From 050504df9dd4a74d294537b1c5bef0c4316a9d5d Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Sat, 22 Feb 2020 17:21:40 +0100 Subject: [PATCH] on linux a relative path must be given to DynamicLibrary.open --- test/kdbx4_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/kdbx4_test.dart b/test/kdbx4_test.dart index c124abc..283c179 100644 --- a/test/kdbx4_test.dart +++ b/test/kdbx4_test.dart @@ -43,7 +43,7 @@ class Argon2Test implements Argon2 { Argon2Test() { final argon2lib = Platform.isMacOS ? DynamicLibrary.open('libargon2_ffi.dylib') - : DynamicLibrary.open('libargon2_ffi.so'); + : DynamicLibrary.open('./libargon2_ffi.so'); _argon2hash = argon2lib .lookup>('hp_argon2_hash') .asFunction();