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