diff options
-rwxr-xr-x | project/clbuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/clbuild.sh b/project/clbuild.sh index d11c98a..e22610a 100755 --- a/project/clbuild.sh +++ b/project/clbuild.sh @@ -145,7 +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, -l\([^ ]\+\), %sysroot%/lib/lib\1.lib,g' \ -e 's@-nostdlib @/nodefaultlib @g' \ -e 's@-Wl,--subsystem=@/subsystem:@g' \ -e 's@-Wl,--entry -Wl,'"''"'@/entry:@g' \ |