summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3a05762c55..8e9648960d 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 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