old python needs __main__ to call a module master
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 11 Apr 2012 09:12:33 +0000 (11:12 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Wed, 11 Apr 2012 09:12:33 +0000 (11:12 +0200)
Makefile

index 9775ab5..2001975 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,7 @@ LUCENE=$(LUCENE_SRC)/lucene
 PREFIX_PYTHON=$(VIRTUAL_ENV)
 ANT=ant
 PYTHON=$(PREFIX_PYTHON)/bin/python
-JCC=$(PYTHON) -m jcc --shared
+JCC=$(PYTHON) -m jcc.__main__ --shared
 NUM_FILES=3
 
 # FreeBSD