diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2017-06-12 08:02:10 -0400 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2017-08-23 21:25:39 +0100 |
commit | 130ca3f2c0ed10cf365ddc83dd12b1c37146d3f4 (patch) | |
tree | a1bd76fca514b3d2760e762d3e22badce456d496 /hints | |
parent | 11e42ded02cf9636dfacb56537c11be59b0d3d2b (diff) | |
download | perl-130ca3f2c0ed10cf365ddc83dd12b1c37146d3f4.tar.gz |
Simpler hints fix for [perl #131337].
The Configure scan fails to find dlopen() with g++. Explicitly making
it availble allows Configure to default to using dynamic loading, but
still allows the user to override and use static loading.
(cherry picked from commit 2c8efe4079b75c61cf34425054539a9c24913e9f)
Diffstat (limited to 'hints')
-rw-r--r-- | hints/freebsd.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh index fc6d73f87b..b3422c9ecc 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -322,10 +322,12 @@ d_printf_format_null='undef' d_uselocale='undef' # https://rt.perl.org/Ticket/Display.html?id=131337 +# Reported in 11.0-CURRENT with g++-4.8.5: +# If using g++, the Configure scan for dlopen() fails. +# Easier for now to just to forcibly set it. case "$cc" in *g++*) - usedl='define' - dlsrc='dl_dlopen.xs' + d_dlopen='define' ;; esac |