summaryrefslogtreecommitdiff
path: root/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
commit868ec0d1166838449df1186858cecf517c97d799 (patch)
tree2f8df10fde8a0dd81bcae0e14e948be214b0a3a9 /python
parentf8a3d735c6deaf8d720c6a768e9df9a76d7a0428 (diff)
downloadqpid-python-868ec0d1166838449df1186858cecf517c97d799.tar.gz
workaround lack of -m option on python 2.3
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Makefile b/python/Makefile
index ea153fcde0..d25137f2df 100644
--- a/python/Makefile
+++ b/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)