Changes to update Tomato RAF.
[tomato.git] / release / src / router / openvpn / install-win32 / getpkcs11helper
blob8fcfdd40964bea597fbb60c6324e330acc3c4241
1 #!/bin/sh
3 # get version.nsi definitions
4 . autodefs/defs.sh
6 # Get PKCS11-helper libraries
7 if [ -d "$PKCS11_HELPER_DIR" ] ; then
8 mkdir -p $GENOUT/lib &>/dev/null
9 for f in libpkcs11-helper-1.dll ; do
10 cp $PKCS11_HELPER_DIR/usr/local/bin/$f $GENOUT/lib
11 if [ -z "$NO_STRIP" ]; then
12 strip $GENOUT/lib/$f
14 done
15 else
16 echo PKCS11-helper DIR $PKCS11_HELPER_DIR NOT FOUND