sqlite3-cluster.js/install-sqlcipher.bash

14 lines
364 B
Bash
Raw Normal View History

2015-07-24 22:11:10 +00:00
#!/bin/bash
2015-07-22 00:58:34 +00:00
#brew options sqlcipher
#brew install sqlcipher --with-fts
echo STOP
echo You must manually install sqlcipher
exit 1
export LDFLAGS="-L`brew --prefix`/opt/sqlcipher/lib"
export CPPFLAGS="-I`brew --prefix`/opt/sqlcipher/include"
npm install sqlite3 --build-from-source --sqlite_libname=sqlcipher --sqlite=`brew --prefix`
node -e 'require("sqlite3")'