Skip to content

Commit

Permalink
When building with g++ on FreeBSD, explicitly set 'usedl' and 'dlsrc'.
Browse files Browse the repository at this point in the history
For: https://rt.perl.org/Ticket/Display.html?id=131337
Signed-off-by: James E Keenan <jkeenan@cpan.org>
  • Loading branch information
jkeenan committed Jun 3, 2017
1 parent 66c5e3f commit 21a33ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hints/freebsd.sh
Expand Up @@ -320,3 +320,12 @@ d_printf_format_null='undef'

# As of 10.3-RELEASE FreeBSD. See [perl #128867]
d_uselocale='undef'

# https://rt.perl.org/Ticket/Display.html?id=131337
case "$cc" in
*g++*)
usedl='define'
dlsrc='dl_dlopen.xs'
;;
esac

0 comments on commit 21a33ad

Please sign in to comment.