Skip to content

Instantly share code, notes, and snippets.

@kashif
Created July 5, 2009 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kashif/140966 to your computer and use it in GitHub Desktop.
Save kashif/140966 to your computer and use it in GitHub Desktop.
IUSE="debug doc load-extension soundex tcl +threadsafe"
src_configure() {
# Enable column metadata, bug #266651
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
# not available via configure and requested in bug #143794
use soundex && append-cppflags -DSQLITE_SOUNDEX
# Support R-trees, bug #257646
# Avoid "./.libs/libsqlite3.so: undefined reference to `sqlite3RtreeInit'" during non-amalgamation building.
if use tcl; then
append-cppflags -DSQLITE_ENABLE_RTREE
fi
append-ldflags -ldl
econf \
$(use_enable debug) \
$(use_enable threadsafe) \
$(use_enable threadsafe cross-thread-connections) \
$(use_enable tcl) \
$(use_enable load-extension)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment