mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
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:
parent
ad22de6d73
commit
d89a96ae6d
4
makefile
4
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")"
|
||||
|
Loading…
Reference in New Issue
Block a user