From 84cef16f47509314e0e3d1d687af725f20f7031d Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 20 Jan 2017 17:03:51 -0800 Subject: [PATCH] Makefile.vc: fix CFG=debug-dynamic build strip '_debug' from the library basename to form the resource target. since: 919f9e2f Merge "add .rc files for windows dll versioning" BUG=webp:323 Change-Id: I97cfa48afa846211385720034a40aa452c68134c --- Makefile.vc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.vc b/Makefile.vc index e0d833e3..ca0955ca 100644 --- a/Makefile.vc +++ b/Makefile.vc @@ -409,10 +409,10 @@ $(LIBWEBP_OBJS) $(LIBWEBPMUX_OBJS) $(LIBWEBPDEMUX_OBJS): \ {src\mux}.rc{$(DIROBJ)\mux}.res: $(RC) /fo$@ $< -$(LIBWEBP): $(DIROBJ)\$(LIBWEBP_BASENAME).res -$(LIBWEBPDECODER): $(DIROBJ)\$(LIBWEBPDECODER_BASENAME).res -$(LIBWEBPMUX): $(LIBWEBP) $(DIROBJ)\mux\$(LIBWEBPMUX_BASENAME).res -$(LIBWEBPDEMUX): $(LIBWEBP) $(DIROBJ)\demux\$(LIBWEBPDEMUX_BASENAME).res +$(LIBWEBP): $(DIROBJ)\$(LIBWEBP_BASENAME:_debug=).res +$(LIBWEBPDECODER): $(DIROBJ)\$(LIBWEBPDECODER_BASENAME:_debug=).res +$(LIBWEBPMUX): $(LIBWEBP) $(DIROBJ)\mux\$(LIBWEBPMUX_BASENAME:_debug=).res +$(LIBWEBPDEMUX): $(LIBWEBP) $(DIROBJ)\demux\$(LIBWEBPDEMUX_BASENAME:_debug=).res $(LIBWEBPDECODER) $(LIBWEBP) $(LIBWEBPMUX) $(LIBWEBPDEMUX): $(LNKDLL) /out:$(DIRBIN)\$(@B:_dll=.dll) /implib:$@ $(LFLAGS) $**