mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	SCons: Always use env.Prepend for CPPPATH
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
This commit is contained in:
		
							parent
							
								
									e949d6c2ae
								
							
						
					
					
						commit
						d52b70fb5e
					
				
					 42 changed files with 84 additions and 85 deletions
				
			
		|  | @ -103,7 +103,7 @@ def configure(env): | |||
| 
 | ||||
|     ## Compile flags | ||||
| 
 | ||||
|     env.Append(CPPPATH=['#platform/javascript']) | ||||
|     env.Prepend(CPPPATH=['#platform/javascript']) | ||||
|     env.Append(CPPDEFINES=['JAVASCRIPT_ENABLED', 'UNIX_ENABLED']) | ||||
| 
 | ||||
|     # No multi-threading (SharedArrayBuffer) available yet, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde