add include dir for slcipher
authorKali Kaneko <kali@leap.se>
Thu, 30 May 2013 16:22:39 +0000 (01:22 +0900)
committerKali Kaneko <kali@leap.se>
Thu, 30 May 2013 16:22:39 +0000 (01:22 +0900)
setup.py

index f1f93e1..ac1a3cd 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -146,6 +146,7 @@ class LibSQLCipherBuilder(build_ext):
     description = ("Build C extension linking against libsqlcipher library.")
 
     def build_extension(self, ext):
+        ext.extra_compile_args.append("-I/usr/include/sqlcipher/")
         ext.extra_link_args.append("-lsqlcipher")
         build_ext.build_extension(self, ext)