소스 검색

No more module relative paths as they seem to upset emscripten?

Mark Sibly 8 년 전
부모
커밋
7d7ab5480c
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/mx2cc/util.monkey2

+ 2 - 4
src/mx2cc/util.monkey2

@@ -56,14 +56,12 @@ Global MODULES_DIR:String
 Function MakeIncludePath:String( path:String,baseDir:String )
 	
 	If MODULES_DIR
-		If baseDir And baseDir.StartsWith( MODULES_DIR ) Return MakeRelativePath( path,baseDir )
-	
+'		If baseDir And baseDir.StartsWith( MODULES_DIR ) Return MakeRelativePath( path,baseDir )
 		 If path.StartsWith( MODULES_DIR ) Return path.Slice( MODULES_DIR.Length )
 	Endif
 
 	If APP_DIR
-		If baseDir And baseDir.StartsWith( APP_DIR ) Return MakeRelativePath( path,baseDir )
-		
+'		If baseDir And baseDir.StartsWith( APP_DIR ) Return MakeRelativePath( path,baseDir )
 	 	If path.StartsWith( APP_DIR ) Return path.Slice( APP_DIR.Length )
 	Endif