]> granicus.if.org Git - icu/commitdiff
ICU-21217 Windows: Fix link command for extra/scrptrun
authorPaul Smith <paul@mad-scientist.net>
Wed, 5 Aug 2020 17:18:30 +0000 (13:18 -0400)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Fri, 14 Aug 2020 07:43:24 +0000 (00:43 -0700)
icu4c/source/extra/scrptrun/Makefile.in

index f6e47735631162f478b263091a928ca33e054156..d951f66a4bda197c750b17516ca8443cdcd997f1 100644 (file)
@@ -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: