Browse Source

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

Mark Sibly 8 năm trước cách đây
mục cha
commit
7d7ab5480c
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  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