Re: GModule build fixes
- From: Owen Taylor <otaylor redhat com>
- To: Dan Winship <danw ximian com>
- Cc: timj gtk org, gtk-devel-list gnome org
- Subject: Re: GModule build fixes
- Date: 22 Nov 2001 13:48:45 -0500
Dan Winship <danw ximian com> writes:
> Hm. It still doesn't work for me on NetBSD unless you add
> -export-dynamic to module_test_LDFLAGS. (Since libgmodule is trying to
> resolve g_clash_func in the main program.)
I guess that means that configure.in has to be fixed for NetBSD
to export the right G_MODULE_LDFLAGS. I think this is a
case of the test catching a real problem.
> Actually, is any of that
> G_MODULE_LDFLAGS figuring-out necessary? Shouldn't libtool's
> -export-dynamic flag always dtrt?
We want:
gcc -o myprog.c myprog.c `pkg-config --cflags --libs glib-2.0 gmodule-2.0`
to work. Using gmodule isn't supposed to require you to use libtool.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]