Force CFFI to front of static initialization order
This commit is contained in:
@@ -111,9 +111,13 @@ package;
|
||||
}
|
||||
|
||||
|
||||
#if neko
|
||||
@:noCompletion @:dox(hide) public static function __init__ () {
|
||||
|
||||
#if lime_cffi
|
||||
var init = lime.system.CFFI;
|
||||
#end
|
||||
|
||||
#if neko
|
||||
// Copy from https://github.com/HaxeFoundation/haxe/blob/development/std/neko/_std/Sys.hx#L164
|
||||
// since Sys.programPath () isn't available in __init__
|
||||
var sys_program_path = {
|
||||
@@ -140,7 +144,6 @@ package;
|
||||
loader.addPath ("@executable_path/");
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user