summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--ext/digest/sha2/extconf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a05762c553..8e9648960da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 15 04:04:02 2001 Akinori MUSHA <knu@iDaemons.org>
+
+ * ext/digest/sha2/extconf.rb: fix so that they build from any
+ directory.
+
Wed Aug 15 01:59:19 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/defs.h: Define NO_UINT64_T instead of emitting an
diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb
index 412b2d43017..dce1115bf8c 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