From d89a96ae6de1d4fd440a845eff2093aaabd6b78d Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 30 Sep 2011 18:40:43 -0600 Subject: [PATCH] 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. --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 14fc99e4d7..1e7946dc24 100755 --- a/makefile +++ b/makefile @@ -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")"