use absolute path for test-executable in makefile

This is necessary to avoid crashes on OS X due to
CFBundleGetMainBundle and friends not behaving well otherwise.
This commit is contained in:
Joel Dice 2011-09-30 18:40:43 -06:00
parent ad22de6d73
commit d89a96ae6d

View File

@ -54,7 +54,7 @@ test = test
classpath = avian
test-executable = $(executable)
test-executable = $(shell pwd)/$(executable)
boot-classpath = $(classpath-build)
embed-prefix = /avian-embedded
@ -110,7 +110,7 @@ ifneq ($(openjdk),)
boot-javahome-object = $(build)/boot-javahome.o
else
options := $(options)-openjdk
test-executable = $(executable-dynamic)
test-executable = $(shell pwd)/$(executable-dynamic)
library-path = \
$(library-path-variable)=$(build):$(openjdk)/jre/lib/$(openjdk-arch)
javahome = "$$($(native-path) "$(openjdk)/jre")"