summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-20 22:49:40 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-21 00:01:25 +0300
commitec5b3a6157997b3704792ab5854cde64e924f310 (patch)
treed709db50748f9fed8f01b4c48488fecea832fddf /i18nutil
parentfc9e0ee821a57cb504659da300901dbe68447b8f (diff)
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.
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/makefile.mk4
1 files changed, 4 insertions, 0 deletions
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