From e3f2c0dd70018d924bf22a9b3f0cbf387316b50b Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 5 Aug 2020 13:18:30 -0400 Subject: [PATCH] ICU-21217 Windows: Fix link command for extra/scrptrun --- icu4c/source/extra/scrptrun/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/extra/scrptrun/Makefile.in b/icu4c/source/extra/scrptrun/Makefile.in index f6e477356311..d951f66a4bda 100644 --- a/icu4c/source/extra/scrptrun/Makefile.in +++ b/icu4c/source/extra/scrptrun/Makefile.in @@ -33,7 +33,7 @@ ifeq ($(ENABLE_RPATH),YES) RPATHLDFLAGS = $(LD_RPATH)$(LD_RPATH_PRE)$(libdir) endif LDFLAGS = @LDFLAGS@ $(RPATHLDFLAGS) -LIBS = $(LIBICUUC) @LIBS@ @LIB_M@ +LIBS = $(LIBICUUC) $(LIB_M) SOURCES = $(shell cat $(srcdir)/sources.txt) OBJECTS = $(SOURCES:.cpp=.o) @@ -75,7 +75,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status $(TARGET) : $(OBJECTS) - $(LINK.cc) -o $@ $^ $(LIBS) + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) $(POST_BUILD_STEP) invoke: