[Mono-list] compiling on FreeBSD

Garrett Rooney rooneg@electricjellyfish.net
Sun, 12 Aug 2001 20:38:57 -0400

On Sun, Aug 12, 2001 at 08:17:14PM -0400, Garrett Rooney wrote:
> 1) add GLIB_CFLAGS = `$(GLIB_CONFIG) --cflags` and GLIB_LIBS=`$(GLIB_CONFIG)
> --libs` in the Makefiles.  i imagine we should be making our automake setup do
> this anyway, since that's what glib_config exists for, but my automake foo is
> basically nonexistent.  if someone could point me in the proper direction, i'd
> be happy to make this change, i just don't know where to start.

well, i started looking around.  if i define GLIB_CFLAGS to be $(GLIB_CONFIG)
--cflags in Makefile.am, i can get everything to compile, but it fails to link
because it can't find the glib library.  i would assume i would need to define
GLIB_LIBS in the same way, and then everything would work, but if i do that,
automake starts bitching at me for putting linker flags such as --libs in the 
_LDDFLAGS section.  this one has me kind of stumped...

any help?

garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.