aboutsummaryrefslogtreecommitdiff
path: root/contrib/perl5/ext/DynaLoader/hints/netbsd.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/ext/DynaLoader/hints/netbsd.pl')
-rw-r--r--contrib/perl5/ext/DynaLoader/hints/netbsd.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/perl5/ext/DynaLoader/hints/netbsd.pl b/contrib/perl5/ext/DynaLoader/hints/netbsd.pl
new file mode 100644
index 000000000000..a0fbaf7d89ee
--- /dev/null
+++ b/contrib/perl5/ext/DynaLoader/hints/netbsd.pl
@@ -0,0 +1,3 @@
+# XXX Configure test needed?
+# Some NetBSDs seem to have a dlopen() that won't accept relative paths
+$self->{CCFLAGS} = $Config{ccflags} . ' -DDLOPEN_WONT_DO_RELATIVE_PATHS';