#!/bin/sh

source /home/dan/workspace/xtras/libs/ssh2/build/xtras/src/ssh2/1.11.0/linuxArm64/xtras/scripts/env.sh
[ ! -f configure ] && autoreconf -fi 
[ ! -f Makefile ] && ./configure --host=aarch64-unknown-linux-gnu --prefix=/home/dan/workspace/xtras/libs/ssh2/build/xtras/build/ssh2/1.11.0/linuxArm64 \
--with-libssl-prefix=/home/dan/workspace/xtras/xtras/libs/openssl/3.3.0/linuxArm64       
make
make install

mkdir /home/dan/workspace/xtras/libs/ssh2/build/xtras/build/ssh2/1.11.0/linuxArm64/bin
cp example/.libs/* /home/dan/workspace/xtras/libs/ssh2/build/xtras/build/ssh2/1.11.0/linuxArm64/bin/

