diff options
author | Don Anderson <dda@ddanderson.com> | 2011-03-31 07:44:57 -0400 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2011-03-31 07:44:57 -0400 |
commit | 8d2fdaa95502171653c7bbf153761ee9da72345d (patch) | |
tree | 4ad20fdcd39dd8f6d602b114e8fb10aedcdc5777 /build_posix/Make.base | |
parent | 840a648121921c1879b2fb0b489071a2b4878d99 (diff) | |
download | mongo-8d2fdaa95502171653c7bbf153761ee9da72345d.tar.gz |
Added ex_access.py, and added typemaps, etc. to make it all work.
This changeset also includes configure and Make.base changes to
force -g on for setup.py, and to *disable* -O if debug is enabled.
That's probably not wanted in the release tree, but is essential
for debugging SWIG.
refs #31
--HG--
extra : rebase_source : d6eb4ffab30aa8901b73467e038cb82168308545
Diffstat (limited to 'build_posix/Make.base')
-rw-r--r-- | build_posix/Make.base | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base index a25e63a2a10..925c9dd772c 100644 --- a/build_posix/Make.base +++ b/build_posix/Make.base @@ -26,7 +26,11 @@ prototype.chk: $(libwiredtiger_a_SOURCES) @(cd ../dist && sh s_prototypes) && touch $@ if PYTHON +if DEBUG +PY_SETUP_DEBUG = -g +wiredtiger_wrap_o_CFLAGS = -g +endif all-local: ../lang/python/_wiredtiger.so endif ../lang/python/_wiredtiger.so: libwiredtiger.a ../lang/python/wiredtiger.i - @(cd ../lang/python ; python setup.py build_ext -f -i) + @(cd ../lang/python ; python setup.py build_ext -f -i $(PY_SETUP_DEBUG)) |