summaryrefslogtreecommitdiff
path: root/dmydln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmydln.c')
-rw-r--r--dmydln.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/dmydln.c b/dmydln.c
index 35824ebec8..22f40e82eb 100644
--- a/dmydln.c
+++ b/dmydln.c
@@ -20,3 +20,13 @@ dln_symbol(void *handle, const char *symbol)
UNREACHABLE_RETURN(NULL);
}
+
+NORETURN(void *dln_open(const char*));
+void*
+dln_open(const char *library)
+{
+ rb_loaderror("this executable file can't load extension libraries");
+
+ UNREACHABLE_RETURN(NULL);
+}
+