summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-15 01:12:35 -0500
committermidipix <writeonce@midipix.org>2016-12-15 13:21:36 -0500
commiteaa1a157693e0cc90624ebb7353e997b3ff6f363 (patch)
tree9c83cd72867adea266a5c215c4b8b1d7582b29b5 /project
parent54ef1219d733706e9b036a6c8b3b6962ab2d20a3 (diff)
downloaddalist-eaa1a157693e0cc90624ebb7353e997b3ff6f363.tar.bz2
dalist-eaa1a157693e0cc90624ebb7353e997b3ff6f363.tar.xz
project: clbuild-bat: properly handle dependency libraries.
Diffstat (limited to 'project')
-rwxr-xr-xproject/clbuild.sh2
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' \