Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #8 from Shamar/master

Fix build on mono 2.10.2
  • Loading branch information...
commit 248717267911c001870d06f178fc67705ef3172a 2 parents 97bfdd6 + d747571
Zoltan Varga vargaz authored

Showing 2 changed files with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Makefile
  2. +1 0  coverage.c
2  Makefile
@@ -56,7 +56,7 @@ nunit-console.exe: nunit-console.cs
56 56 gmcs -r:nunit.framework -r:nunit.core -r:nunit.util -r:Mono.GetOptions nunit-console.cs
57 57
58 58 libmono-profiler-monocov.so: coverage.c
59   - $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" `pkg-config --cflags mono` --shared -fPIC -o $@ $^
  59 + $(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 $@ $^
60 60
61 61 install: all
62 62 mkdir -p $(prefix)/lib/monocov
1  coverage.c
@@ -4,6 +4,7 @@
4 4 #include <errno.h>
5 5 #include <unistd.h>
6 6 #include <stdlib.h>
  7 +#include <glib.h>
7 8
8 9 #include <mono/metadata/class.h>
9 10 #include <mono/metadata/assembly.h>

0 comments on commit 2487172

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