diff options
author | Kali Kaneko <kali@leap.se> | 2013-05-31 01:19:22 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-05-31 01:19:22 +0900 |
commit | 2a9e7729483f3c4bbf68a8a749bc6b6695b2cd20 (patch) | |
tree | c333cb49cfa5839d27b460f849262ecc8947e44a | |
parent | d38bb9b099e9783e1bddb6ddf265e8de96a849f6 (diff) |
add incude dir for libsqlcipher
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ [build_ext] libraries=sqlcipher +include_dirs=/usr/include/sqlcipher/ #define= -#include_dirs=/usr/local/include #library_dirs=/usr/local/lib #define=SQLITE_OMIT_LOAD_EXTENSION @@ -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) |