[Buildroot] [PATCH] package/mono: fixing shared/static handling

Angelo Compagnucci angelo.compagnucci at gmail.com
Sun Dec 14 08:33:32 UTC 2014


Hi Peter

2014-12-14 0:13 GMT+01:00 Peter Korsgaard <peter at korsgaard.com>:
>>>>>> "Angelo" == Angelo Compagnucci <angelo.compagnucci at gmail.com> writes:
>
>  > Mono should always be compiled with --enable-static, this patch forces
>  > --enable-static also in case of shared only libraries.
>
> Why? If it is really required, then mono should depend on
> !BR2_SHARED_LIBS and show a comment to inform the user that it needs
> static library support.

Mono doesn't really uses shared libraries at all, it ships its own
glibc (eglib) and its own libmono library, It should be compiled
statically for this reason, you can find further details here:
http://www.mono-project.com/docs/compiling-mono/unsupported-advanced-compile-options/#static-vs-dynamic-mono
.

Before the new shared/static handling, --enable-static was always
passed as a configure option.

Sincerely, Angelo


More information about the buildroot mailing list