summaryrefslogtreecommitdiffhomepage
path: root/project/clbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'project/clbuild.sh')
-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' \