summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-17 20:02:00 -0500
committermidipix <writeonce@midipix.org>2016-12-18 09:28:59 -0500
commit5117659c028da754274c36c37ae5389eadc6cbaf (patch)
treee2943f24cdeeaa92368742e36376834287a4074d /project
parent4f436d9efeeb7c5324b81a5753fbb63b9462fced (diff)
downloaddalist-5117659c028da754274c36c37ae5389eadc6cbaf.tar.bz2
dalist-5117659c028da754274c36c37ae5389eadc6cbaf.tar.xz
project: clbuild-bat: added -static support.
Diffstat (limited to 'project')
-rwxr-xr-xproject/clbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/project/clbuild.sh b/project/clbuild.sh
index 12458a1..5d1c6b3 100755
--- a/project/clbuild.sh
+++ b/project/clbuild.sh
@@ -178,6 +178,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,-static -l\([^ ]\+\), %sysroot%/lib/lib\1.a,g' \
-e 's, -l\([^ ]\+\), %sysroot%/lib/lib\1.lib,g' \
-e 's@-nostdlib @/nodefaultlib @g' \
-e 's@-Wl,--subsystem=@/subsystem:@g' \