[Mono-dev] -lgc is needed in ldflags if using boehm-gc
Zoltan Varga
vargaz at gmail.com
Sun Apr 4 18:04:58 EDT 2010
Commited.
Zoltan
On Sun, Apr 4, 2010 at 10:08 PM, Robert Nagy <robert at openbsd.org> wrote:
> Hey
>
> -lgc has to be added to libmono_ldflags for example to get it in
> the pkg-config file so that mkbundle and others will work.
>
> Index: configure.in
> ===================================================================
> --- configure.in (revision 154771)
> +++ configure.in (working copy)
> @@ -834,6 +834,7 @@
> AC_SUBST(HAVE_BOEHM_GC)
> LIBGC_LIBS="-lgc $libdl"
> LIBGC_STATIC_LIBS="$LIBGC_LIBS"
> + libmono_ldflags="$libmono_ldflags -lgc"
>
> # AC_CHECK_FUNCS does not work for some reason...
> AC_CHECK_LIB(gc, GC_gcj_malloc,
> found_gcj_malloc="yes",,$libdl)
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100405/602a2e4d/attachment.html
More information about the Mono-devel-list
mailing list