summaryrefslogtreecommitdiff
path: root/ext/digest/sha2
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-14 19:05:37 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-08-14 19:05:37 +0000
commitad4c17c021111d194e63178c61579cf0df853f9d (patch)
tree602abcdee68da975accc8639a6d4d97546249e98 /ext/digest/sha2
parent6a581e6317295271495607ea7488f49957d93994 (diff)
* ext/digest/sha2/extconf.rb: fix so that they build from any
directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha2')
-rw-r--r--ext/digest/sha2/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb
index 412b2d4301..dce1115bf8 100644
--- a/ext/digest/sha2/extconf.rb
+++ b/ext/digest/sha2/extconf.rb
@@ -17,7 +17,7 @@ have_header("inttypes.h")
have_header("unistd.h")
-if try_run(<<SRC, $defs.join(' '))
+if try_run(<<SRC, $defs.join(' ') + " -I#{$srcdir}")
#include "../defs.h"
int main(void) {
#ifdef NO_UINT64_T