summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/md5/extconf.rb2
-rw-r--r--ext/digest/rmd160/extconf.rb2
-rw-r--r--ext/digest/sha1/extconf.rb2
-rw-r--r--ext/digest/sha2/extconf.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb
index cbf1e1b60f8..0d3b1ca7ea5 100644
--- a/ext/digest/md5/extconf.rb
+++ b/ext/digest/md5/extconf.rb
@@ -3,7 +3,7 @@
require "mkmf"
-$CFLAGS << " -DHAVE_CONFIG_H -I.."
+$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$objs = [
"md5.#{$OBJEXT}",
diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb
index 708e6e40f77..a1b178acb7f 100644
--- a/ext/digest/rmd160/extconf.rb
+++ b/ext/digest/rmd160/extconf.rb
@@ -3,7 +3,7 @@
require "mkmf"
-$CFLAGS << " -DHAVE_CONFIG_H -I.."
+$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$objs = [
"rmd160.#{$OBJEXT}",
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb
index c7d6d4d8440..9ab198110af 100644
--- a/ext/digest/sha1/extconf.rb
+++ b/ext/digest/sha1/extconf.rb
@@ -3,7 +3,7 @@
require "mkmf"
-$CFLAGS << " -DHAVE_CONFIG_H -I.."
+$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$objs = [
"sha1.#{$OBJEXT}",
diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb
index e7ca707cf4e..fcbc1ddd8be 100644
--- a/ext/digest/sha2/extconf.rb
+++ b/ext/digest/sha2/extconf.rb
@@ -3,7 +3,7 @@
require "mkmf"
-$CFLAGS << " -DHAVE_CONFIG_H -I.."
+$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$objs = [
"sha2.#{$OBJEXT}",