From fef6942ac3d6d9ebf8acfa4576308c923ee05544 Mon Sep 17 00:00:00 2001
From: Tor Lillqvist <tlillqvist@novell.com>
Date: Sat, 18 Jun 2011 16:05:23 +0300
Subject: Produce the expected import library name in the MinGW case

---
 ucbhelper/util/makefile.mk | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'ucbhelper')

diff --git a/ucbhelper/util/makefile.mk b/ucbhelper/util/makefile.mk
index 41cd0e5b4190..05fee92e83dc 100644
--- a/ucbhelper/util/makefile.mk
+++ b/ucbhelper/util/makefile.mk
@@ -49,7 +49,11 @@ SHL1STDLIBS = \
     $(SALLIB)
 
 SHL1DEPN=
+.IF "$(COM)" == "MSC"
 SHL1IMPLIB=	i$(TARGET)
+.ELSE
+SHL1IMPLIB=	$(TARGET)$(UCBHELPER_MAJOR)$(COMID)
+.ENDIF
 SHL1USE_EXPORTS=name
 SHL1LIBS=	$(LIB1TARGET)
 SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
-- 
cgit