[MonoDevelop] Makefile problem

John Luke jluke@users.sourceforge.net
Thu, 11 Mar 2004 14:21:26 -0500


On Thu, 2004-03-11 at 13:06 -0600, Fawad Halim wrote:

> John,
>     It returns:
> 
> pkg-config --libs gtksourceview-sharp
> 
> The problem is not with locating the lib itself. It seems to be that the makefile doesn't even reference gtksourceview-sharp.dll. Adding that reference makes it build correctly. I added the reference in line 416 in the Makefile.in to get it to work.
> 
> 

No, Makefile.am is what you should be checking/editing that is where the
substitution is made. Makefile.in is created from it, which then creates
the Makefile.

>From src/AddIns/DisplayBindings/SourceEditor/Makefile.am:
/r:gtk-sharp /r:gdk-sharp $(GTKSOURCEVIEW_SHARP) /r:glib-sharp \

As you can see if pkg-config returned something meaningful for the
above, $(GTKSOURCEVIEW_SHARP) would be replaced with the correct
reference in the Makefile.

NOTE: if this wasn't true no one would be able to build at all.