Commit 7e2609cf authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the code to append .exe to program paths

parent 88c8801d
...@@ -25,7 +25,7 @@ endef ...@@ -25,7 +25,7 @@ endef
define canonicaliseExecutable define canonicaliseExecutable
# $1 = program path variable # $1 = program path variable
ifneq "$$(wildcard $$($1).exe)" "" ifneq "$$(shell test -e '$$($1).exe' && echo exists)" ""
$1 := $$($1).exe $1 := $$($1).exe
endif endif
$(call canonicalise,$1) $(call canonicalise,$1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment