Skip to content

Add sqlite3.h and sqlite3ext.h to install-includes#66

Merged
nurpax merged 1 commit intoIreneKnapp:masterfrom
duog:master
Jul 3, 2017
Merged

Add sqlite3.h and sqlite3ext.h to install-includes#66
nurpax merged 1 commit intoIreneKnapp:masterfrom
duog:master

Conversation

@duog
Copy link
Copy Markdown
Contributor

@duog duog commented Jul 3, 2017

sqlite3ext.h is the header for sqlite3 extensions to include. It was obtained from
https://raw.githubusercontent.com/mackyle/sqlite/version-3.15.2/src/sqlite3ext.h

This patch allows the aforementioned headers to be found by ghc by adding a cabal
dependency to direct-sqlite. I have found this useful when compiling extensions
written in c against the sqlite version that direct-sqlite bundles.

sqlite3ext.h is the header for sqlite3 extensions to include. It was obtained from
https://raw.githubusercontent.com/mackyle/sqlite/version-3.15.2/src/sqlite3ext.h

This patch allows the aforementioned headers to be found by ghc by adding a cabal
dependency to direct-sqlite. I have found this useful when compiling extensions
written in c against the sqlite version that direct-sqlite bundles.
@nurpax nurpax merged commit 418e39e into IreneKnapp:master Jul 3, 2017
@nurpax
Copy link
Copy Markdown
Collaborator

nurpax commented Jul 3, 2017

Thanks, seems useful!

@nurpax
Copy link
Copy Markdown
Collaborator

nurpax commented Jul 3, 2017

Released to hackage.

@duog
Copy link
Copy Markdown
Contributor Author

duog commented Jul 3, 2017

Wow so fast! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants