Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

require at the top!

  • Loading branch information...
commit d503ede570f1ad8e962afbda422f398df079054b 1 parent 294fd4d
@rep authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  ext/nacl/extconf.rb
View
3  ext/nacl/extconf.rb
@@ -1,3 +1,5 @@
+require 'mkmf'
+
unless nacl = ENV['NACL_HOME']
puts "NACL_HOME environment variable missing"
exit
@@ -12,6 +14,5 @@
$LDFLAGS << "-Wl,-Bsymbolic-functions -fPIC -lnacl #{libdir}/randombytes.o -L#{libdir}"
$CFLAGS << " -fPIC -I#{incdir} "
-require 'mkmf'
have_library "nacl"
create_makefile('nacl/nacl')
Please sign in to comment.
Something went wrong with that request. Please try again.