summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/hints
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-06 20:11:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-06 20:11:46 +0000
commit9d4ce9a5d50788ac8c636881861cb1c2ab45fc52 (patch)
tree169f36586a608bb9e28d92f76a5612a09e492d23 /ext/DynaLoader/hints
parente7b91b67de5d0f0f6a116fcb08b706e17f3f0bd8 (diff)
downloadperl-9d4ce9a5d50788ac8c636881861cb1c2ab45fc52.tar.gz
add workaround for dlopen() bug on OpenBSD (relative paths that
match /^lib/ won't load properly) p4raw-id: //depot/perl@4765
Diffstat (limited to 'ext/DynaLoader/hints')
-rw-r--r--ext/DynaLoader/hints/openbsd.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/DynaLoader/hints/openbsd.pl b/ext/DynaLoader/hints/openbsd.pl
new file mode 100644
index 0000000000..aeaa92c5a5
--- /dev/null
+++ b/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';