Browse Source

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

Mark Sibly 8 years ago
parent
commit
7d7ab5480c
1 changed files with 2 additions and 4 deletions
  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