sqlite: better method of disabling readline

This commit is contained in:
Dylan Araps 2021-07-27 17:54:02 +03:00
parent 057d8fd61e
commit 8a8e0d1802
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,16 +1,14 @@
#!/bin/sh -e
export CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1"
sed 's/ -ltinfo//g' configure > _
mv -f _ configure
chmod +x configure
# Required by qt5 and possibly other software.
export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1"
./configure \
--prefix=/usr \
--enable-threadsafe \
--enable-dynamic-extensions \
--enable-fts5
--enable-fts5 \
ac_cv_search_readline=no \
make
make install