Skip to content
Browse files

do not hardcode path to swig and java

  • Loading branch information...
1 parent ac80b21 commit d748cb5bdd9df1a401d32599464c47c3480f7073 Fneufneu committed Sep 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/interfaces/python/
4 xbmc/interfaces/python/
@@ -55,7 +55,7 @@ endif
touch $(GENDIR)/doxygenxml/dummy
$(GENDIR)/%.xml: $(SWIG_INTERFACE_DIR)/%.i $(GENDIR)/dummy $(GENDIR)/doxygenxml/dummy
- /usr/bin/swig -w401 -c++ -outdir $(GENDIR) -o $@ -xml $(SWIG_INC) -xmllang python $<
+ @SWIG_EXE@ -w401 -c++ -outdir $(GENDIR) -o $@ -xml $(SWIG_INC) -xmllang python $<
$(GENDIR)/%.cpp: $(GENDIR)/%.xml
- /usr/bin/java -cp "../../../lib/groovy/groovy-all-1.8.4.jar:../../../lib/groovy/commons-lang-2.6.jar:$(GENERATOR):./" groovy.ui.GroovyMain $(GENERATOR)/Generator.groovy $< PythonSwig.cpp.template $@ $(DOXY_XML_PATH)
+ @JAVA_EXE@ -cp "../../../lib/groovy/groovy-all-1.8.4.jar:../../../lib/groovy/commons-lang-2.6.jar:$(GENERATOR):./" groovy.ui.GroovyMain $(GENERATOR)/Generator.groovy $< PythonSwig.cpp.template $@ $(DOXY_XML_PATH)

1 comment on commit d748cb5

Team Kodi member

Sorry. That was a cut-n-paste error when i was playing with the Makefile.

Please sign in to comment.
Something went wrong with that request. Please try again.