Permalink
Browse files

Allow for building in yajl with the module instead of linking a 'syst…

…em' one
  • Loading branch information...
1 parent 2ed7c49 commit bbb556c649e9f60eb04df778e87b79c1c2512616 R. Tyler Ballance committed Jul 12, 2009
Showing with 12 additions and 3 deletions.
  1. +1 −0 includes/yajl
  2. +11 −3 setup.py
View
1 includes/yajl
View
14 setup.py
@@ -6,10 +6,18 @@
'yajl.c',
'encoder.c',
'decoder.c',
+ 'yajl/src/yajl_alloc.c',
+ 'yajl/src/yajl_buf.c',
+ 'yajl/src/yajl.c',
+ 'yajl/src/yajl_encode.c',
+ 'yajl/src/yajl_gen.c',
+ 'yajl/src/yajl_lex.c',
+ 'yajl/src/yajl_parser.c',
],
- libraries=['yajl'],
- extra_compile_args=['-Wall', '-Werror', '-I../src/api']),
-]
+ include_dirs=['includes/'],
+ extra_compile_args=['-Wall', '-Werror']),
+ ]
+
packages = ['yajl']

0 comments on commit bbb556c

Please sign in to comment.