summaryrefslogtreecommitdiff
path: root/ext/digest/rmd160/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/rmd160/extconf.rb')
-rw-r--r--ext/digest/rmd160/extconf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb
index a3b63d75e04..d38dadd0412 100644
--- a/ext/digest/rmd160/extconf.rb
+++ b/ext/digest/rmd160/extconf.rb
@@ -3,7 +3,8 @@
require "mkmf"
-$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
+$defs << "-DNDEBUG" << "-DHAVE_CONFIG_H"
+$INCFLAGS << " -I$(srcdir)/.."
$objs = [ "rmd160init.#{$OBJEXT}" ]