summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/depend2
-rw-r--r--ext/dl/extconf.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index 3d86c3405f..3f05a2f802 100644
--- a/ext/dl/depend
+++ b/ext/dl/depend
@@ -1,5 +1,3 @@
-DISTCLEANFILES = $(srcdir)/callback.h
-
cfunc.o: cfunc.c dl.h
cptr.o: cptr.c dl.h
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index 6311fc82d1..ef9f09438d 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -7,6 +7,8 @@ end
$INSTALLFILES = [
["dl.h", "$(archdir)$(target_prefix)", ""],
]
+$distcleanfiles = "callback.h"
+
check = true
if( have_header("dlfcn.h") )