summaryrefslogtreecommitdiff
path: root/ext/digest/sha1
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-14 03:29:50 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-14 03:29:50 +0000
commitf4b516777be7c1403deba3cfc653dcfb56f3d7f4 (patch)
tree5200f6eb4e4b4807230b40ba748e10cd9c26deb9 /ext/digest/sha1
parenta2193f50e80823d34e3d283effb2b4539c15b6f2 (diff)
* ext/digest/*/extconf.rb: fix so that they build from any
directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha1')
-rw-r--r--ext/digest/sha1/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb
index c7d6d4d..9ab1981 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}",