rules/curl: symlink libcurl to /lib/ for cross-compilation of DUNE

This commit is contained in:
Kristoffer Gryte 2018-04-26 19:53:00 +02:00
parent 9015c36df9
commit 4e0d51b548

View File

@ -35,6 +35,11 @@ build()
host_install() host_install()
{ {
$cmd_make install $cmd_make install
# make available for cross compilation
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
echo "Doing $f"
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
done
} }
target_install() target_install()