Permalink
Browse files

require at the top!

  • Loading branch information...
1 parent 294fd4d commit d503ede570f1ad8e962afbda422f398df079054b @rep committed Sep 20, 2012
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')

0 comments on commit d503ede

Please sign in to comment.