summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-08-24 23:31:54 +0000
committerRafael H. Schloming <rhs@apache.org>2009-08-24 23:31:54 +0000
commit646b25cb4862a1dee78c4c71bebba0e0f91e7cf6 (patch)
treedfcd6b4227f65e56cfe034a600a292e3db119713 /qpid/python
parent61032606472c9cbac9dfd360de08a9b277e41cdf (diff)
downloadqpid-python-646b25cb4862a1dee78c4c71bebba0e0f91e7cf6.tar.gz
workaround lack of -m option on python 2.3
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@807429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/Makefile b/qpid/python/Makefile
index ea153fcde0..d25137f2df 100644
--- a/qpid/python/Makefile
+++ b/qpid/python/Makefile
@@ -37,7 +37,7 @@ $(BUILD)/%.py: %.py
./preppy $(PYTHON_VERSION) < $< > $@
$(BUILD)/%.pyc: $(BUILD)/%.py
- python -m py_compile $<
+ python -c "import py_compile; py_compile.main()" $<
$(BUILD)/qpid_config.py: qpid_config.py
@mkdir -p $(BUILD)