summaryrefslogtreecommitdiff
path: root/bindings/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/ruby')
-rw-r--r--bindings/ruby/extconf.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb
index d5778d0..30c70fb 100644
--- a/bindings/ruby/extconf.rb
+++ b/bindings/ruby/extconf.rb
@@ -18,7 +18,11 @@
require 'mkmf'
dir_config('libzmq')
-have_library('libzmq')
-create_makefile("ruby")
+if have_library('libzmq', 'zmq_init')
+ puts "Cool, I found your zmq install..."
+ create_makefile("zmq")
+else
+ raise "Couldn't find zmq library. try setting --with-zmq-dir=<path> to tell me where it is."
+end