make classpath native sources depend on vm-depends in makefile (fixes #340)

This commit is contained in:
Joshua Warner 2014-09-24 13:15:41 -06:00
parent a020105225
commit 2b4f1bad5d

View File

@ -1826,7 +1826,7 @@ $(build)/%-build.o: $(lzma)/C/%.c
$(build-cc) -DPOINTER_SIZE=$(pointer-size) -O0 -g3 $(lzma-build-cflags) \
-c $(<) -o $(@)
$(jni-objects): $(build)/%.o: $(classpath-src)/%.cpp
$(jni-objects): $(build)/%.o: $(classpath-src)/%.cpp $(vm-depends)
$(compile-object)
$(static-library): $(vm-objects) $(classpath-objects) $(vm-heapwalk-objects) \