ffmpeg: add libs (*.so) to sysroot of toolchain.
This commit is contained in:
parent
873040a941
commit
b9e2e9c2b8
@ -15,9 +15,10 @@ md5=\
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_mkdir build
|
||||
./configure \
|
||||
--sysroot="$cfg_dir_toolchain_sysroot" \
|
||||
--prefix="$cfg_dir_rootfs/usr" \
|
||||
--prefix="$cfg_dir_builds/ffmpeg/ffmpeg-$version/build/" \
|
||||
--incdir="$cfg_dir_toolchain_sysroot/usr/include" \
|
||||
--enable-cross-compile \
|
||||
--cross-prefix="$cfg_target_canonical-" \
|
||||
@ -39,10 +40,13 @@ host_install()
|
||||
$cmd_make \
|
||||
LIBDIR="$cfg_dir_toolchain_sysroot/usr/lib" \
|
||||
install-headers
|
||||
$cmd_make install
|
||||
$cmd_cp -r "build/"* "$cfg_dir_toolchain_sysroot/usr/"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_make \
|
||||
install-libs
|
||||
$cmd_cp -r "build/"* "$cfg_dir_rootfs/usr/"
|
||||
}
|
||||
|
Reference in New Issue
Block a user