From 659e7226650a846d7cabc44a6a5a293ddaa9b624 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 13 Dec 2016 14:31:34 -0500 Subject: project: clbuild-bat: added import library support. --- project/clbuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/project/clbuild.sh b/project/clbuild.sh index a9a846b..8a36685 100755 --- a/project/clbuild.sh +++ b/project/clbuild.sh @@ -145,6 +145,7 @@ make LDFLAGS_IMPLIB= LDFLAGS_SONAME= shared-lib \ -e 's@'"$mb_cc"' -shared @link /dll /nologo @' \ -e 's@-o @/out:@g' \ -e 's@ -L@ /libpath:@g' \ + -e 's/^ -l\(.\+\)$/\1.lib/' \ -e 's@-nostdlib @/nodefaultlib @g' \ -e 's@-Wl,--subsystem=@/subsystem:@g' \ -e 's@-Wl,--entry -Wl,'"''"'@/entry:@g' \ -- cgit v1.2.3