From eaa1a157693e0cc90624ebb7353e997b3ff6f363 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 15 Dec 2016 01:12:35 -0500 Subject: project: clbuild-bat: properly handle dependency libraries. --- project/clbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project') 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' \ -- cgit v1.2.3