summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-07-21 13:54:09 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-07-21 13:55:50 +0300
commitf8c503e629c2ba59335f7a23737ae6b6246d85d5 (patch)
treefb82c6f17f4cda333fdff4464f0d5087ece4a949
parent3373a1b4df4235dfcba12c545795b4befef1906c (diff)
Generate correctly named import library for WNTGCC
-rw-r--r--package/prj/d.lst1
-rw-r--r--package/util/makefile.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/package/prj/d.lst b/package/prj/d.lst
index bcb9c084e..7b3aff248 100644
--- a/package/prj/d.lst
+++ b/package/prj/d.lst
@@ -1,6 +1,7 @@
..\%__SRC%\misc\*.map %_DEST%\bin\*.map
..\%__SRC%\bin\*.dll %_DEST%\bin\*.dll
..\%__SRC%\lib\*.lib %_DEST%\lib\*.lib
+..\%__SRC%\lib\*.a %_DEST%\lib\*.a
..\%__SRC%\lib\lib*.so %_DEST%\lib\lib*.so
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
..\dtd\*.dtd %_DEST%\bin\*.*
diff --git a/package/util/makefile.mk b/package/util/makefile.mk
index 0a3f0d77a..cf94fe80e 100644
--- a/package/util/makefile.mk
+++ b/package/util/makefile.mk
@@ -54,7 +54,11 @@ LIB1FILES= \
# --- Shared-Library -----------------------------------------------
SHL1TARGET=$(TARGET)$(MAJOR_VERSION)
+.IF "$(COM)" == "MSC"
SHL1IMPLIB=i$(TARGET)
+.ELSE
+SHL1IMPLIB=$(TARGET)$(MAJOR_VERSION)
+.ENDIF
SHL1USE_EXPORTS=name
SHL1STDLIBS=\