diff options
author | Jo Shields <joshield@microsoft.com> | 2017-12-12 22:18:53 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-12-14 11:41:50 +0300 |
commit | c593c1e3516b2f8ecefbe829933efb5a1537b210 (patch) | |
tree | 7a25fa7606f3ca2cfd4222196c436071afed154f /scripts | |
parent | 7bf60c3ec95a2ba0af15eddb3c4c77200e9421e3 (diff) |
[mkbundle] Bundle unmanaged libs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mono-package-runtime | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mono-package-runtime b/scripts/mono-package-runtime index d71942ba0cf..10e26f26930 100755 --- a/scripts/mono-package-runtime +++ b/scripts/mono-package-runtime @@ -1,4 +1,8 @@ #!/bin/sh +extension=".dylib" +if test `uname -o` = GNU/Linux; then + extension=".so" +fi if test x$2 = x; then echo usage is: mono-package-runtime MONO_INSTALL_PREFIX LABEL @@ -31,6 +35,6 @@ fi o=`pwd`/$output cd $prefix -(zip -u $o.zip bin/mono lib/mono/4.5/mscorlib.dll lib/mono/4.5/System*dll lib/mono/4.5/Mono.CSharp.dll lib/mono/4.5/Microsoft*dll lib/mono/4.5/FSharp*.dll lib/mono/4.5/I18N*dll lib/mono/4.5/Accessibility.dll lib/mono/4.5/RabbitMQ.Client.dll lib/mono/4.5/ICSharpCode.SharpZipLib.dll lib/mono/4.5/CustomMarshalers.dll etc/mono/config etc/mono/4.5/machine.config etc/mono/4.5/web.config lib/mono/4.5/Mono.Cairo.dll lib/mono/4.5/Mono.Data.Sqlite.dll lib/mono/4.5/Mono.Posix.dll lib/mono/4.5/Mono.Security.*dll lib/mono/4.5/Mono.Simd.dll) +(zip -u $o.zip bin/mono lib/mono/4.5/mscorlib.dll lib/mono/4.5/System*dll lib/mono/4.5/Mono.CSharp.dll lib/mono/4.5/Microsoft*dll lib/mono/4.5/FSharp*.dll lib/mono/4.5/I18N*dll lib/mono/4.5/Accessibility.dll lib/mono/4.5/RabbitMQ.Client.dll lib/mono/4.5/ICSharpCode.SharpZipLib.dll lib/mono/4.5/CustomMarshalers.dll etc/mono/config etc/mono/4.5/machine.config etc/mono/4.5/web.config lib/mono/4.5/Mono.Cairo.dll lib/mono/4.5/Mono.Data.Sqlite.dll lib/mono/4.5/Mono.Posix.dll lib/mono/4.5/Mono.Security.*dll lib/mono/4.5/Mono.Simd.dll lib/libMonoSupportW$extension lib/libMonoPosixHelper$extension lib/libmono-btls-shared$extension) echo Created file $o.zip |