summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-18 16:05:23 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-18 16:53:35 +0300
commitfef6942ac3d6d9ebf8acfa4576308c923ee05544 (patch)
treefccb6b4c62d0ccfe436a440094d4044e49c70069
parent00ed6f6f71dd6615d37c84f878196582038a15aa (diff)
Produce the expected import library name in the MinGW case
-rw-r--r--ucbhelper/util/makefile.mk4
1 files changed, 4 insertions, 0 deletions
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