New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$(EXEEXT) missing is scripts/Makefile.am #771

Closed
bodop opened this Issue Apr 18, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@bodop

bodop commented Apr 18, 2016

I am cross compiling on linux for mingw. Since wine is installed and generated executables can be run, configure sets CROSSCOMPILING=false. But Makefile.am does not take into account that EXEEXT=.exe. To make compilation succeed, I had to apply the following patch:

*** curl-7.48.0/scripts/Makefile.am 2016-03-22 08:15:38.000000000 +0100
--- curl-7.48.0-bodo/scripts/Makefile.am 2016-04-18 15:29:08.000000000 +0200


*** 31,37 ****
@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 > $@
endif

install-data-local:
--- 31,37 ----
@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$(EXEEXT) > $@
endif

install-data-local:

@bagder bagder closed this in 4cbaee4 Apr 18, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.