summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-09-09 06:05:39 +0000
committerMartin Pool <mbp@samba.org>2002-09-09 06:05:39 +0000
commit01e7afadd6b49b3174623c637ec21d5abf7bc782 (patch)
treee1ec68c000ec0fbb33ba2df8a5ac64842af06868 /source3/Makefile.in
parentb15ffb766a223db7a514705fd056944e0c9098e9 (diff)
downloadsamba-01e7afadd6b49b3174623c637ec21d5abf7bc782.tar.gz
samba-01e7afadd6b49b3174623c637ec21d5abf7bc782.tar.bz2
samba-01e7afadd6b49b3174623c637ec21d5abf7bc782.zip
Add --with-python=PYTHONNAME configure option, so that the libraries
get linked for the appropriate version. (This used to be commit 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 2038036a92..18df73a6da 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -18,6 +18,7 @@ LDFLAGS=@LDFLAGS@
LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@ @CFLAGS@
AWK=@AWK@
DYNEXP=@DYNEXP@
+PYTHON=@PYTHON@
TERMLDFLAGS=@TERMLDFLAGS@
TERMLIBS=@TERMLIBS@
@@ -881,9 +882,8 @@ python_common_proto:
$(PY_COMMON_PROTO_OBJ)
python_ext: $(PYTHON_OBJS)
- @echo python python/setup.py build
- @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
- python python/setup.py build
+ PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
+ $(PYTHON) python/setup.py build
# revert to the previously installed version
revert: