summaryrefslogtreecommitdiff
path: root/ruby/extconf.rb
diff options
context:
space:
mode:
authortamara <tamara@jozsi.(none)>2009-08-29 11:31:32 +0200
committertamara <tamara@jozsi.(none)>2009-08-29 11:31:32 +0200
commit1d650934e477be32db9a3c64de077deed0416689 (patch)
tree9396a82dfd2fc075af92222c60dd553398c681c1 /ruby/extconf.rb
parent3666a49022f84b3d1888f630a78f3f8f28aadde1 (diff)
Ruby bidning added
Diffstat (limited to 'ruby/extconf.rb')
-rw-r--r--ruby/extconf.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/ruby/extconf.rb b/ruby/extconf.rb
new file mode 100644
index 0000000..f931c5e
--- /dev/null
+++ b/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")
+
+