23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
source "$pkg_common"
 | 
						|
 | 
						|
configure()
 | 
						|
{
 | 
						|
    "../libffi-$version/configure" \
 | 
						|
        --target="$cfg_target_canonical" \
 | 
						|
        --host="$cfg_target_canonical" \
 | 
						|
        --build="$cfg_host_canonical" \
 | 
						|
        --prefix="$cfg_dir_toolchain_sysroot/usr" \
 | 
						|
        --disable-static \
 | 
						|
        --enable-shared
 | 
						|
}
 | 
						|
 | 
						|
build()
 | 
						|
{
 | 
						|
    $cmd_make
 | 
						|
}
 | 
						|
 | 
						|
host_install()
 | 
						|
{
 | 
						|
    $cmd_make install
 | 
						|
}
 |