[newlib-cygwin] Cygwin: fix dependency to dllfixdbg script

Corinna Vinschen corinna@sourceware.org
Fri Feb 4 17:30:14 GMT 2022


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

commit 899cf3c9529d21e56fb062324c0396d51a3566e6
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Feb 4 18:26:01 2022 +0100

    Cygwin: fix dependency to dllfixdbg script
    
    Only the files created from cygwin0.dll depend on the script, not
    cygwin0.dll as well.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

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 6d2e9800d..ff177454a 100644
--- a/winsup/cygwin/Makefile.am
+++ b/winsup/cygwin/Makefile.am
@@ -625,7 +625,7 @@ $(LDSCRIPT): $(LDSCRIPT).in
 	$(AM_V_GEN)$(CC) -E - -P < $^ -o $@
 
 # cygwin dll
-$(PRE_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
+$(PRE_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
 		  $(newlib_build)/libm/libm.a $(newlib_build)/libc/libc.a
 	$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
 	-mno-use-libstdc-wrappers \
@@ -639,7 +639,7 @@ $(PRE_DLL_NAME): $(LDSCRIPT) dllfixdbg libdll.a $(VERSION_OFILES) $(LIBSERVER)\
 	$(newlib_build)/libc/libc.a \
 	-lgcc -lkernel32 -lntdll -Wl,-Map,cygwin.map
 
-$(DBG_DLL_NAME) $(NEW_DLL_NAME): $(PRE_DLL_NAME)
+$(DBG_DLL_NAME) $(NEW_DLL_NAME): dllfixdbg $(PRE_DLL_NAME)
 	$(AM_V_GEN)$(srcdir)/dllfixdbg $(OBJDUMP) $(OBJCOPY) $(PRE_DLL_NAME) $(DBG_DLL_NAME) $(NEW_DLL_NAME) $(V)
 
 # cygwin import library


More information about the Cygwin-cvs mailing list