From 868ec0d1166838449df1186858cecf517c97d799 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Mon, 24 Aug 2009 23:31:54 +0000 Subject: 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 --- python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/Makefile') 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) -- cgit v1.2.1