Merge pull request #37 from krisgry/feature/copylibopenCV

Copy libopencv_* to /lib/, for cross-compilation of DUNE
This commit is contained in:
Tiago Sá Marques 2019-04-04 12:20:03 +00:00 committed by GitHub
commit 623bac0c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,11 @@ host_install()
{ {
cd ${pkg_build_dir}/../build && cd ${pkg_build_dir}/../build &&
$cmd_make install $cmd_make install
# make available for cross compilation
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libopencv*so*; do
ln -s -f "$f" "$cfg_dir_toolchain/lib"
done
} }
target_install() target_install()