about summary refs log tree commit homepage
path: root/ext/mahoro/extconf.rb
diff options
context:
space:
mode:
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