Commit baba0c81 authored by Filippo Carone's avatar Filippo Carone

make really java bindings compile again

parent 884e3536
......@@ -77,10 +77,15 @@ VlcClient: $(OBJECTS)
VLCExample: $(OBJECTS)
$(JAVAC) VLCExample.java
class: %.java
if HAVE_WIN32
%.class: %.java
$(JAVAC) $?
$(JCH) org.videolan.jvlc.$(*F)
else
%.class: %.java
$(JAVAC) $?
$(JCH) $(@D)/$(*F) -o includes/$(*F).h
endif
clean-local:
rm -f *.class *~ org/videolan/jvlc/*.class org_videolan*.h includes/*.h src/*.o *.so *.o *.dll
......
......@@ -60,7 +60,7 @@ public class JVLC implements Runnable {
public JVLC() {
String[] args = new String[1];
args[0] = "";
args[0] = "jvlc";
_instance = createInstance( args );
playlist = new Playlist ( _instance );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment