From 03713da7e2cb42232d7465c769cedfa2ff05720e Mon Sep 17 00:00:00 2001 From: Renato Caldas Date: Thu, 12 Mar 2015 15:58:20 +0000 Subject: [PATCH] ffmpeg: install headers on the proper location. --- rules/ffmpeg/default.bash | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/rules/ffmpeg/default.bash b/rules/ffmpeg/default.bash index c55cd7e..bae87fc 100644 --- a/rules/ffmpeg/default.bash +++ b/rules/ffmpeg/default.bash @@ -18,12 +18,13 @@ configure() ./configure \ --sysroot="$cfg_dir_toolchain_sysroot" \ --prefix="$cfg_dir_rootfs/usr" \ - --enable-cross-compile \ + --incdir="$cfg_dir_toolchain_sysroot/usr/include" \ + --enable-cross-compile \ --cross-prefix="$cfg_target_canonical-" \ --target-os="linux" \ --enable-shared \ - --disable-static \ - --enable-pic \ + --disable-static \ + --enable-pic \ --enable-gpl \ --arch=$cfg_architecture } @@ -33,8 +34,14 @@ build() $cmd_make } +host_install() +{ + $cmd_make \ + install-headers +} + target_install() { $cmd_make \ - install + install-libs }