In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/2c8efe4079b75c61cf34425054539a9c24913e9f?hp=9287cc840c2c31d0850ec27d031eeb1df6fd8e4d>

- Log -----------------------------------------------------------------
commit 2c8efe4079b75c61cf34425054539a9c24913e9f
Author: Andy Dougherty <[email protected]>
Date:   Mon Jun 12 08:02:10 2017 -0400

    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.
-----------------------------------------------------------------------

Summary of changes:
 hints/freebsd.sh | 6 ++++--
 1 file 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
 

--
Perl5 Master Repository

Reply via email to