build.sh at [5bd5ef312f]

File build/cackey_win64_build/build.sh artifact 3415fb284b part of check-in 5bd5ef312f


#! /bin/bash

make distclean

cp "./build/cackey_win64_build/lib/winscard.dll" "./build/cackey_win64_build/lib/WinSCard.dll"

./configure --with-pcsc-headers="$(pwd)/build/cackey_win64_build/include" --with-pcsc-libs="-L$(pwd)/build/cackey_win64_build/lib -lwinscard" --host=amd64-mingw32msvc CPPFLAGS="-I$(pwd)/build/cackey_win64_build/include" || exit 1

make || exit 1

rm -f "./build/cackey_win64_build/lib/WinSCard.dll"

exit 0