Skip to content

Commit

Permalink
bindings no longer looks in lib automagically
Browse files Browse the repository at this point in the history
and reports 'libojbectbox.dylib' as missing
  • Loading branch information
Buggaboo committed Oct 16, 2019
1 parent 57d9325 commit 3cccbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/bindings/bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class _ObjectBoxBindings {
if (Platform.isWindows)
libName += ".dll";
else if (Platform.isMacOS)
libName = "lib" + libName + ".dylib";
libName = "lib/lib" + libName + ".dylib";
else if (Platform.isLinux || Platform.isAndroid)
libName = "lib" + libName + ".so";
else
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
dependencies:
# take care updating flatbuffers - keep aligned with other bindings
flat_buffers: 1.11.0
ffi: 0.1.2
ffi: '>=0.1.2'
dev_dependencies:
build_runner: ^1.0.0
objectbox_model_generator:
Expand Down

0 comments on commit 3cccbf3

Please sign in to comment.