From f8c503e629c2ba59335f7a23737ae6b6246d85d5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 Jul 2011 13:54:09 +0300 Subject: Generate correctly named import library for WNTGCC --- package/prj/d.lst | 1 + package/util/makefile.mk | 4 ++++ 2 files changed, 5 insertions(+) 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=\ -- cgit v1.2.3