[newlib-cygwin] Cygwin: Move adding libltp to VPATH after Makefile.common

Jon TURNEY jturney@sourceware.org
Sun Nov 8 15:21:23 GMT 2020


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

commit 551df57fa0b967b3b99ac904dfa5089cd315bd1a
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Oct 28 16:42:09 2020 +0000

    Cygwin: Move adding libltp to VPATH after Makefile.common
    
    Move adding libltp to the VPATH after Makefile.common, which sets VPATH.

Diff:
---
 winsup/testsuite/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in
index 50319cda4..aaa5851b2 100644
--- a/winsup/testsuite/Makefile.in
+++ b/winsup/testsuite/Makefile.in
@@ -13,8 +13,6 @@ srcdir:=@srcdir@
 objdir:=.
 libltp_srcdir=$(srcdir)/libltp
 
-VPATH:=$(srcdir):$(libltp_srcdir)/lib
-
 target_alias:=@target_alias@
 build_alias:=@build_alias@
 host_alias:=@host_alias@
@@ -64,6 +62,8 @@ MINGW_FE:=$(dir ${srcdir})/utils/mingw
 #
 include $(srcdir)/../Makefile.common
 
+VPATH+=$(libltp_srcdir)/lib
+
 override CC:=$(CC) $(GCC_INCLUDE)
 export CC


More information about the Cygwin-cvs mailing list