File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,11 @@ final DynamicLibrary _qjsLib = Platform.environment['FLUTTER_TEST'] == 'true'
121
121
: DynamicLibrary .open ('test/build/libffiquickjs.so' ))
122
122
: (Platform .isWindows
123
123
? DynamicLibrary .open ('quickjs_c_bridge.dll' )
124
- : Platform .isAndroid
125
- ? DynamicLibrary .open ('libfastdev_quickjs_runtime.so' )
126
- : DynamicLibrary .process ());
124
+ : (Platform .isLinux
125
+ ? DynamicLibrary .open (Platform .environment['LIBQUICKJSC_PATH' ] ?? 'libquickjs_c_bridge_plugin.so' )
126
+ : (Platform .isAndroid
127
+ ? DynamicLibrary .open ('libfastdev_quickjs_runtime.so' )
128
+ : DynamicLibrary .process ())));
127
129
128
130
/// DLLEXPORT JSValue *jsThrow(JSContext *ctx, JSValue *obj)
129
131
final Pointer <JSValue > Function (
You can’t perform that action at this time.
0 commit comments