summaryrefslogtreecommitdiff
path: root/build_posix/Make.base
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-08-26 15:34:52 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-08-26 15:34:52 +1000
commit3eb4b3b2f5d74cc16787b630a2645287b15bd0db (patch)
tree42cdc7d75be7f75987afa3f6ed973f522cbe0b49 /build_posix/Make.base
parentdbd19cb3954d64507d6f30768c7d0a28f91d8bee (diff)
downloadmongo-3eb4b3b2f5d74cc16787b630a2645287b15bd0db.tar.gz
Search for swig during configure for Python builds.
Diffstat (limited to 'build_posix/Make.base')
-rw-r--r--build_posix/Make.base2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_posix/Make.base b/build_posix/Make.base
index 45a92a40424..eb65181f2ad 100644
--- a/build_posix/Make.base
+++ b/build_posix/Make.base
@@ -37,7 +37,7 @@ PY_SETUP_DEBUG = -g
endif
all-local: _wiredtiger.so
$(PYSRC)/wiredtiger_wrap.c: wiredtiger.h $(PYSRC)/wiredtiger.i
- @(cd $(PYSRC) && swig -python -I../../build_posix wiredtiger.i)
+ @(cd $(PYSRC) && $(SWIG) -python -I../../build_posix wiredtiger.i)
_wiredtiger.so: $(wt_LTLIBRARIES) $(PYSRC)/wiredtiger_wrap.c
@env CFLAGS="$(PYTHON_CFLAGS)" LDFLAGS="$(PYTHON_LDFLAGS)" \