about summary refs log tree commit homepage
path: root/ext/mahoro/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-04-05 22:08:41 +0000
committerEric Wong <normalperson@yhbt.net>2013-04-05 22:40:51 +0000
commitc5fab448d4260594a876a2d29339156e45bfd379 (patch)
treec3cfa6069cddf2535ad1fe92cdf3a0f611e13351 /ext/mahoro/extconf.rb
parent7f87cbc2e5289f328c3278a991519068d8747374 (diff)
downloadmahoro-c5fab448d4260594a876a2d29339156e45bfd379.tar.gz
tree reorganization + various maint fixes v0.4
Using an ext/ directory is easier to grok for RubyGems
Diffstat (limited to 'ext/mahoro/extconf.rb')
-rw-r--r--ext/mahoro/extconf.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/mahoro/extconf.rb b/ext/mahoro/extconf.rb
new file mode 100644
index 0000000..0709016
--- /dev/null
+++ b/ext/mahoro/extconf.rb
@@ -0,0 +1,9 @@
+require 'mkmf'
+
+dir_config('magic')
+have_library('magic', 'magic_open')
+have_func('rb_thread_call_without_gvl')
+have_func('rb_thread_blocking_region')
+create_makefile('mahoro')
+
+# arch-tag: extconf