use so-prefix and so-suffix to generate test library name

This fixes the JNI test for Windows and OS X.
This commit is contained in:
Joel Dice 2012-08-02 12:47:48 -06:00
parent f03e5e8e55
commit 296a1e5bab

View File

@ -821,7 +821,7 @@ test-sources += $(test-support-sources)
test-support-classes = $(call java-classes, $(test-support-sources),$(test),$(test-build))
test-classes = $(call java-classes,$(test-sources),$(test),$(test-build))
test-cpp-objects = $(call cpp-objects,$(test-cpp-sources),$(test),$(test-build))
test-library = $(test-build)/libtest.so
test-library = $(test-build)/$(so-prefix)test$(so-suffix)
test-dep = $(test-build).dep
test-extra-sources = $(wildcard $(test)/extra/*.java)