소스 검색

ft: 适配otp27

master
SisMaker 11 달 전
부모
커밋
be5bbfcf11
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/npRCompiler.erl

+ 2
- 2
src/npRCompiler.erl 파일 보기

@ -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() ->

불러오는 중...
취소
저장