rules/opencv: symlink libopencv_* to /lib/, for cross-compilation of DUNE

This commit is contained in:
Kristoffer Gryte 2018-04-26 19:48:10 +02:00
parent 9015c36df9
commit 20a8911a04

View File

@ -63,6 +63,11 @@ host_install()
{
cd ${pkg_build_dir}/../build &&
$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()