summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-13 14:31:34 -0500
committermidipix <writeonce@midipix.org>2016-12-13 20:44:40 -0500
commit659e7226650a846d7cabc44a6a5a293ddaa9b624 (patch)
tree088ea35ce651f6e6386def4823dc08e01e8fadbf
parent939702ec52f419a7e1cb5aed7c6abf502acfbaf1 (diff)
downloadpemagine-659e7226650a846d7cabc44a6a5a293ddaa9b624.tar.bz2
pemagine-659e7226650a846d7cabc44a6a5a293ddaa9b624.tar.xz
project: clbuild-bat: added import library support.
-rwxr-xr-xproject/clbuild.sh1
1 files changed, 1 insertions, 0 deletions
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' \