a4d31b project: clbuild-bat: added -static support.

Authored and Committed by midipix 7 years ago
    project: clbuild-bat: added -static support.
    
        
file modified
+1 -0
project/clbuild.sh CHANGED
@@ -178,6 +178,7 @@ make LDFLAGS_IMPLIB= LDFLAGS_SONAME= shared-lib \
178
178
-e 's@'"$mb_cc"' -shared @link /dll /nologo @' \
179
179
-e 's@-o @/out:@g' \
180
180
-e 's@ -L@ /libpath:@g' \
181
+ -e 's,-static -l\([^ ]\+\), %sysroot%/lib/lib\1.a,g' \
181
182
-e 's, -l\([^ ]\+\), %sysroot%/lib/lib\1.lib,g' \
182
183
-e 's@-nostdlib @/nodefaultlib @g' \
183
184
-e 's@-Wl,--subsystem=@/subsystem:@g' \