cd sqlite-version-3.32.3
mkdir bld
cd bld
../configure --prefix=/home/$USER/3rd_party/sqlite --with-pic
make OPTS=-DSQLITE_ENABLE_COLUMN_METADATA=1
OPTS= 预处理宏说明
Additionally, preprocessor defines may be specified by using the OPTS macro
on the NMAKE command line. However, not all possible preprocessor defines
may be specified in this manner as some require the amalgamation to be built
with them enabled (see http://www.sqlite.org/compile.html). For example, the
following will work:
"OPTS=-DSQLITE_ENABLE_STAT4=1 -DSQLITE_ENABLE_JSON1=1"