diff options
author | midipix <writeonce@midipix.org> | 2016-12-15 01:12:35 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-15 13:02:27 -0500 |
commit | d983a7e7492e18af7cd98ebc0e10f56d09d89dd7 (patch) | |
tree | 558da3011da4f99e9b92595390744ca4e2e094b5 | |
parent | b6306ba81767226a21ef7b144a840a83f88673d4 (diff) | |
download | pemagine-d983a7e7492e18af7cd98ebc0e10f56d09d89dd7.tar.bz2 pemagine-d983a7e7492e18af7cd98ebc0e10f56d09d89dd7.tar.xz |
project: clbuild-bat: properly handle dependency libraries.
-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' \ |