https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0bf0cf48ff669ee53257e4a3b6b2d4709c332707
commit 0bf0cf48ff669ee53257e4a3b6b2d4709c332707 Author: Jon Turney <[email protected]> Date: Wed Apr 28 11:46:02 2021 +0200 Cygwin: specify toollibdir toolincludedir in terms of tooldir Specify toollibdir and toolincludedir in terms of tooldir, so the install location is correct if tooldir is the default ($(exec_prefix)/$(target_alias)), or explicitly specified on the 'make' command line. Diff: --- winsup/cygwin/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am index ea9d4b382..a2e673c13 100644 --- a/winsup/cygwin/Makefile.am +++ b/winsup/cygwin/Makefile.am @@ -32,8 +32,8 @@ newlib_build=$(target_builddir)/newlib # installed there by newlib. # -toollibdir=$(prefix)/$(target_alias)/lib -toolincludedir=$(prefix)/$(target_alias)/include +toollibdir=$(tooldir)/lib +toolincludedir=$(tooldir)/include # Parameters used in building the cygwin.dll.
