From 5747dfabbf8f0b0ee70c9b1361a30054b1b46394 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(+) (limited to 'package') diff --git a/package/prj/d.lst b/package/prj/d.lst index bcb9c084e3f2..7b3aff2482d8 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 0a3f0d77a076..cf94fe80ed61 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