old python needs __main__ to call a module
[pylucene.git] / 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