summaryrefslogtreecommitdiff
path: root/qpid/python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/Makefile')
-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)