[yocto] [meta-mono][PATCH] mono-4.xx: Remove --disable-static from EXTRA_OECONF

Fabio Berton fabio.berton at ossystems.com.br
Mon Jun 27 11:41:58 PDT 2016


Any update on this?

Without this patch I can't build mono-4.4.0.148.

On Thu, May 12, 2016 at 11:10 AM, Fabio Berton <
fabio.berton at ossystems.com.br> wrote:

> As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
> EXTRA_OECONF is appended with the option --disable-static on
> DISABLE_STATIC variable and this cause the error:
>  __
> /
> | mono_boehm-main.o: In function `main':
> | x86_64-linux/mono-native/4.4.0.122-r0/mono-4.4.0/mono/mini/main.c:51:
> | undefined reference to `mono_build_date'
> | collect2: error: ld returned 1 exit status
> | Makefile:1390: recipe for target 'mono-boehm' failed
> \__
>
> There's a bug with this issue open here:
> https://bugzilla.xamarin.com/show_bug.cgi?id=33081
>
> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
> ---
>  recipes-mono/mono/mono-4.xx.inc | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-mono/mono/mono-4.xx.inc
> b/recipes-mono/mono/mono-4.xx.inc
> index 855c857..6d7c023 100644
> --- a/recipes-mono/mono/mono-4.xx.inc
> +++ b/recipes-mono/mono/mono-4.xx.inc
> @@ -34,6 +34,9 @@ inherit autotools-brokensep
>  inherit pkgconfig
>  inherit gettext
>
> +# avoids build breaks when using no-static-libs.inc
> +DISABLE_STATIC = ""
> +
>  EXTRA_OECONF += " mono_cv_uscore=no --with-sigaltstack=no
> --with-mcs-docs=no "
>
>  do_configure_prepend() {
> --
> 2.1.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160627/4e421bd4/attachment.html>


More information about the yocto mailing list