public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: specify toollibdir toolincludedir in terms of tooldir
@ 2021-04-29  9:37 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-04-29  9:37 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0bf0cf48ff669ee53257e4a3b6b2d4709c332707

commit 0bf0cf48ff669ee53257e4a3b6b2d4709c332707
Author: Jon Turney <jon.turney@dronecode.org.uk>
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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-29  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  9:37 [newlib-cygwin] Cygwin: specify toollibdir toolincludedir in terms of tooldir Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).