Skip to content

Commit

Permalink
Attempt to fix the Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
bertfrees committed Apr 10, 2024
1 parent 8c81491 commit 34d476d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion make/enable-java-shell.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ $(error "GNU Make 3.82 is required to run this script")
endif

ifeq ($(OS),Windows_NT)
SHELL := $(dir $(lastword $(MAKEFILE_LIST)))bin/windows_amd64/eval-java.exe
SHELL := $(dir $(lastword $(MAKEFILE_LIST)))bin/windows_amd64/eval-java
else
ifeq ($(shell uname -s),Darwin)
SHELL := $(dir $(lastword $(MAKEFILE_LIST)))bin/darwin_amd64/eval-java
else
ifeq ($(shell uname -s),Linux)
SHELL := $(dir $(lastword $(MAKEFILE_LIST)))bin/linux_amd64/eval-java
else
SHELL := $(dir $(lastword $(MAKEFILE_LIST)))bin/windows_amd64/eval-java
endif
endif
endif
.SHELLFLAGS :=
Expand Down

0 comments on commit 34d476d

Please sign in to comment.