aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-18 15:50:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-18 15:51:32 +0200
commit4cbaee45a9e7e1da7ea13bf77ea44b666a09fa04 (patch)
tree4c9d28e011230059e6a0f334bc1105c48e9839a3
parenta9a1d303f5d8d2d2899c5efffe6360bfc09aa50e (diff)
scripts/make: use $(EXEEXT) for executables
Reported-by: bodop Fixes #771
-rw-r--r--scripts/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index ef4145442..32dc1b9e2 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -31,7 +31,7 @@ if CROSSCOMPILING
@echo "NOTICE: we can't generate zsh completion when cross-compiling!"
else # if not cross-compiling:
@if ! test -x "$(PERL)"; then echo "No perl: can't install zsh.pl"; exit 0; fi
- $(PERL) $(srcdir)/zsh.pl $(top_builddir)/src/curl > $@
+ $(PERL) $(srcdir)/zsh.pl $(top_builddir)/src/curl$(EXEEXT) > $@
endif
install-data-local: