You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							580 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							580 B
						
					
					
				
								
							 | 
						|
								local function getenv(name) return os_getenv(name) or '' end
							 | 
						|
								
							 | 
						|
								-- cross-compilation
							 | 
						|
								
							 | 
						|
								variables.LUA_INCDIR = getenv('TARGET_includedir')
							 | 
						|
								variables.LUA_LIBDIR = getenv('TARGET_libdir')
							 | 
						|
								variables.CC = getenv('TARGET_CC')
							 | 
						|
								variables.LD = getenv('TARGET_LD')
							 | 
						|
								variables.CFLAGS = getenv('TARGET_CFLAGS')
							 | 
						|
								variables.LDFLAGS = getenv('TARGET_LDFLAGS')
							 | 
						|
								variables.LIBFLAG = [[-shared ]] .. getenv('TARGET_LDFLAGS')
							 | 
						|
								
							 | 
						|
								external_deps_dirs = { getenv('TARGET_DIR') }
							 | 
						|
								gcc_rpath = false
							 | 
						|
								wrap_bin_scripts = false
							 | 
						|
								deps_mode = [[none]]
							 | 
						|
								
							 | 
						|
								-- overriding rocks_trees
							 | 
						|
								
							 | 
						|
								rocks_trees = { getenv('TARGET_DIR') }
							 | 
						|
								
							 |