Error on compiling Sqlcipher 3.4.0 on Windows 10

Hello,

I am compiling the latest 3.4.0 version of SqlCipher on Windows 10 with Win32 OpenSSL v1.1.0 for Qt 5.7.0.

On msys command line to configure sqlcipher :

./configure --prefix=/qt/src/plugins/sqldrivers/sqlcipher --disable-tcl --disable-amalgamation --with-crypto-lib=none CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLCIPHER_CRYPTO_OPENSSL -I/c/OpenSSL-Win32/include /c/Windows/System32/libeay32.dll -L/c/OpenSSL-Win32/lib/MinGW" LDFLAGS="-leay32"

till now everything is ok, but when I enter make command, it shows me following error

libtool: link: gcc -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLCIPHER_CRYPTO_OPENSSL -I/c/OpenSSL-Win32/include -DSQLITE_OS_WIN=1 -I. -I/c/sqlcipher/src -I/c/sqlcipher/ext/rtree -I/c/sqlcipher/ext/fts3 -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DHAVE_READLINE=0 -DHAVE_EDITLINE=0 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_EXPLAIN_COMMENTS -o .libs/sqlcipher.exe /c/sqlcipher/src/shell.c  -L/c/OpenSSL-Win32/lib/MinGW ./.libs/libsqlcipher.a -leay32 -L/qt/src/plugins/sqldrivers/sqlcipher/lib
./.libs/libsqlcipher.a(crypto.o):crypto.c:(.text+0x42a): undefined reference to `sqlcipher_codec_set_store_pass'
./.libs/libsqlcipher.a(crypto.o):crypto.c:(.text+0x45b): undefined reference to `sqlcipher_codec_get_store_pass'
./.libs/libsqlcipher.a(crypto.o):crypto.c:(.text+0x165e): undefined reference to `sqlcipher_codec_get_store_pass'
./.libs/libsqlcipher.a(crypto.o):crypto.c:(.text+0x167c): undefined reference to `sqlcipher_codec_get_pass'
collect2.exe: error: ld returned 1 exit status
make: *** [sqlcipher.exe] Error 1

Any help will be appreciated.