$OpenBSD: patch-tools_monograph_Makefile_in,v 1.1 2018/01/16 16:12:54 robert Exp $

Fix linker error with sgen

Index: tools/monograph/Makefile.in
--- tools/monograph/Makefile.in.orig
+++ tools/monograph/Makefile.in
@@ -521,7 +521,7 @@ clean-binPROGRAMS:
 
 monograph$(EXEEXT): $(monograph_OBJECTS) $(monograph_DEPENDENCIES) $(EXTRA_monograph_DEPENDENCIES) 
 	@rm -f monograph$(EXEEXT)
-	$(AM_V_CCLD)$(monograph_LINK) $(monograph_OBJECTS) $(monograph_LDADD) $(LIBS)
+	$(AM_V_CCLD)$(monograph_LINK) $(monograph_OBJECTS) ../../mono/sgen/.libs/libmonosgen-static.a ../../mono/utils/.libs/libmonoutils.a $(monograph_LDADD) $(LIBS) -lmonosgen-static -lmonoutils
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)
