diff options
author | midipix <writeonce@midipix.org> | 2016-12-17 20:02:00 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-18 09:26:21 -0500 |
commit | a4d31b350a5a6425162ce4f60869807028738bab (patch) | |
tree | 989aaa52d7bc4f41f4aefbdff1fcdd598bed0902 /project | |
parent | f8831f54298d3a78d24fc614ac70793ac85a6a94 (diff) | |
download | pemagine-a4d31b350a5a6425162ce4f60869807028738bab.tar.bz2 pemagine-a4d31b350a5a6425162ce4f60869807028738bab.tar.xz |
project: clbuild-bat: added -static support.
Diffstat (limited to 'project')
-rwxr-xr-x | project/clbuild.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project/clbuild.sh b/project/clbuild.sh index 12458a1..5d1c6b3 100755 --- a/project/clbuild.sh +++ b/project/clbuild.sh @@ -178,6 +178,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,-static -l\([^ ]\+\), %sysroot%/lib/lib\1.a,g' \ -e 's, -l\([^ ]\+\), %sysroot%/lib/lib\1.lib,g' \ -e 's@-nostdlib @/nodefaultlib @g' \ -e 's@-Wl,--subsystem=@/subsystem:@g' \ |