Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8 from Shamar/master

Fix build on mono 2.10.2
  • Loading branch information...
commit 248717267911c001870d06f178fc67705ef3172a 2 parents 97bfdd6 + d747571
@vargaz vargaz 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>
Please sign in to comment.
Something went wrong with that request. Please try again.