Explorar el Código

ft: 适配otp27

master
SisMaker hace 11 meses
padre
commit
be5bbfcf11
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/npRCompiler.erl

+ 2
- 2
src/npRCompiler.erl Ver fichero

@ -619,11 +619,11 @@ targetType_1("") -> exe;
targetType_1(".exe") -> exe.
erlInterfaceDir(Subdir) ->
case code:lib_dir(erl_interface, Subdir) of
case code:lib_dir(erl_interface) of
{error, bad_name} ->
throw({error, {erl_interface, Subdir, "code:lib_dir(erl_interface)"
"is unable to find the erl_interface library."}});
Dir -> Dir
Dir -> filename:join(Dir, Subdir)
end.
defaultEnv() ->

Cargando…
Cancelar
Guardar