Closed snoyberg closed 10 years ago
Probably this is because you need to also specify -f-fulltextsearch
, disabling the default support for building with full text search, due to this section of direct-sqlite.cabal
:
if flag(systemlib) {
cpp-options: -Ddirect_sqlite_systemlib
extra-libraries: sqlite3
if flag(fulltextsearch) {
buildable: False
}
} else {
I will integrate a change that should fix this into pull request #41, since that pull request adds another similar flag and this issue makes me realize I need to do something about this to be consistent.
@sethfowler do you think this could be closed now?
I think so, but we should double-check just to be sure. I was kinda hoping @snoyberg would verify that #41 also fixed this issue.
I can confirm that -fsystemlib
now works with 2.3.12.
Fantastic, thanks for verifying the fix! Looks like the issue can be closed.
When I run
cabal install direct-sqlite -fsystemlib
, I get: