diff options
author | midipix <writeonce@midipix.org> | 2016-12-13 14:31:34 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-13 20:44:40 -0500 |
commit | 659e7226650a846d7cabc44a6a5a293ddaa9b624 (patch) | |
tree | 088ea35ce651f6e6386def4823dc08e01e8fadbf | |
parent | 939702ec52f419a7e1cb5aed7c6abf502acfbaf1 (diff) | |
download | pemagine-659e7226650a846d7cabc44a6a5a293ddaa9b624.tar.bz2 pemagine-659e7226650a846d7cabc44a6a5a293ddaa9b624.tar.xz |
project: clbuild-bat: added import library support.
-rwxr-xr-x | project/clbuild.sh | 1 |
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' \ |