ffmpeg: update rule to copy lib/so for both rootfs.

This commit is contained in:
Pedro Gonçalves 2017-05-30 13:18:08 +01:00
parent d281bf7059
commit 741c21e41c

View File

@ -15,12 +15,14 @@ md5=\
configure()
{
mkdir -p ../build
./configure \
--sysroot="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--incdir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--cross-prefix="$cfg_target_canonical-" \
--libdir="$cfg_dir_builds/ffmpeg/build" \
--target-os="linux" \
--enable-shared \
--disable-static \
@ -39,10 +41,16 @@ host_install()
$cmd_make \
LIBDIR="$cfg_dir_toolchain_sysroot/usr/lib" \
install-headers
$cmd_make \
install-libs
}
target_install()
{
$cmd_make \
install-libs
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
}