summaryrefslogtreecommitdiff
path: root/bindings/ruby/extconf.rb
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-16 17:06:59 +0200
committermalosek <malosek@fastmq.com>2009-09-16 17:06:59 +0200
commit1a655045951c29edda0b616640b9dac507cda164 (patch)
tree6cd013eda2331cd5a19e3cd19d14f35b997f3a7d /bindings/ruby/extconf.rb
parentc63387ca3657848c0eaa8014a863148c1e6525ff (diff)
ruby directory moved into bindings dir
Diffstat (limited to 'bindings/ruby/extconf.rb')
-rw-r--r--bindings/ruby/extconf.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb
new file mode 100644
index 0000000..f931c5e
--- /dev/null
+++ b/bindings/ruby/extconf.rb
@@ -0,0 +1,24 @@
+#
+# Copyright (c) 2007-2009 FastMQ Inc.
+#
+# This file is part of 0MQ.
+#
+# 0MQ is free software; you can redistribute it and/or modify it under
+# the terms of the Lesser GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# 0MQ is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# Lesser GNU General Public License for more details.
+#
+# You should have received a copy of the Lesser GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+require 'mkmf'
+dir_config('libzmq')
+have_library('libzmq')
+create_makefile("ruby")
+
+