shlu's note

下载

git clone https://github.com/sqlcipher/sqlcipher.git -b v3.4.2

安装依赖

初始化编译

./configure –enable-tempstore=yes CFLAGS=”-DSQLITE_HAS_CODEC” LDFLAGS=”-lcrypto”

编译

make

安装

sudo make install

调用

./sqlcipher

引用

gcc hello.c -o demo -lsqlcipher

声明:转载请注明出处,原文地址:shlu's note