summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/coverage/depend2
-rw-r--r--ext/coverage/extconf.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/coverage/depend b/ext/coverage/depend
index 84e9946..e9f041a 100644
--- a/ext/coverage/depend
+++ b/ext/coverage/depend
@@ -3,7 +3,7 @@ $(OBJS): $(HDRS) $(ruby_headers) \
$(top_srcdir)/node.h \
$(top_srcdir)/vm_debug.h \
$(top_srcdir)/vm_opts.h \
- $(top_srcdir)/id.h \
+ {$(VPATH)}id.h \
$(top_srcdir)/method.h \
$(top_srcdir)/ruby_atomic.h \
$(top_srcdir)/thread_pthread.h
diff --git a/ext/coverage/extconf.rb b/ext/coverage/extconf.rb
index cf10ca8..769f85b 100644
--- a/ext/coverage/extconf.rb
+++ b/ext/coverage/extconf.rb
@@ -1,3 +1,4 @@
require 'mkmf'
+$VPATH << '$(topdir)' << '$(top_srcdir)'
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
create_makefile('coverage')