Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix build on mono 2.10.2 (missing glib)

  • Loading branch information...
commit d747571baae29a5636e0e98679f03da77c8545f2 1 parent 97bfdd6
@Shamar Shamar authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  Makefile
  2. +1 −0  coverage.c
View
2  Makefile
@@ -56,7 +56,7 @@ nunit-console.exe: nunit-console.cs
gmcs -r:nunit.framework -r:nunit.core -r:nunit.util -r:Mono.GetOptions nunit-console.cs
libmono-profiler-monocov.so: coverage.c
- $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" `pkg-config --cflags mono` --shared -fPIC -o $@ $^
+ $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" `pkg-config --cflags mono-2` `pkg-config --libs mono-2` `pkg-config --cflags glib-2.0` `pkg-config --libs glib-2.0` --shared -fPIC -o $@ $^
install: all
mkdir -p $(prefix)/lib/monocov
View
1  coverage.c
@@ -4,6 +4,7 @@
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
+#include <glib.h>
#include <mono/metadata/class.h>
#include <mono/metadata/assembly.h>

0 comments on commit d747571

Please sign in to comment.
Something went wrong with that request. Please try again.