From 8d2fdaa95502171653c7bbf153761ee9da72345d Mon Sep 17 00:00:00 2001 From: Don Anderson Date: Thu, 31 Mar 2011 07:44:57 -0400 Subject: 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 --- build_posix/Make.base | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build_posix/Make.base') 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)) -- cgit v1.2.1