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.
This commit is contained in:
Jon Turney 2021-04-28 11:46:02 +02:00 committed by Corinna Vinschen
parent a26779fae0
commit 0bf0cf48ff
1 changed files with 2 additions and 2 deletions

View File

@ -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.