From ec5b3a6157997b3704792ab5854cde64e924f310 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 20 Jun 2011 22:49:40 +0300 Subject: Make the MinGW import library name match what libs.mk wants Use the i prefix only for import libraries built with MSC. Add COMID to the import library built with MinGW. This matches the shared library name on Unix, and MinGW is a Unix-style compiler. --- i18nutil/source/utility/makefile.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i18nutil') diff --git a/i18nutil/source/utility/makefile.mk b/i18nutil/source/utility/makefile.mk index adfddd91db2d..cece2847e9b1 100644 --- a/i18nutil/source/utility/makefile.mk +++ b/i18nutil/source/utility/makefile.mk @@ -47,7 +47,11 @@ SLOFILES= \ # Unicode utilities SHL1TARGET= $(TARGET)$(COMID) +.IF "$(COM)" == "MSC" SHL1IMPLIB= i$(TARGET) +.ELSE +SHL1IMPLIB= $(TARGET)$(COMID) +.ENDIF DEF1DEPN= $(MISC)$/$(SHL1TARGET).flt SHL1DEF= $(MISC)$/$(SHL1TARGET).def -- cgit