summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2020-04-04 23:25:50 +0200
committerKarl Williamson <khw@cpan.org>2020-04-04 16:00:54 -0600
commitee371330f17a3e0efeaa1cc02a9af099ed2e5b0c (patch)
treeba32aebd2284f47ec61c5509772cd874ad130bf5 /hints
parent0d547987b4a450dd159c70d568bebe35f87b6f0d (diff)
downloadperl-ee371330f17a3e0efeaa1cc02a9af099ed2e5b0c.tar.gz
Configure can't find dlopen() on DragonFly BSD when using g++
linux, freebsd and solaris hints have the same workaround
Diffstat (limited to 'hints')
-rw-r--r--hints/dragonfly.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/dragonfly.sh b/hints/dragonfly.sh
index 7d0cbd7c88..38928d1313 100644
--- a/hints/dragonfly.sh
+++ b/hints/dragonfly.sh
@@ -79,3 +79,11 @@ case "$usemallocwrap" in
esac
test "$optimize" || optimize='-O2'
+
+# Configure can't find dlopen() when using g++
+# linux, freebsd and solaris hints have the same workaround
+case "$cc" in
+*g++*)
+ d_dlopen='define'
+ ;;
+esac