# New Ticket Created by Will Coleda # Please include the string: [perl #43069] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43069 >
This depends on being able to config with --parrot_is_shared on darwin (which, as of today, fails on my osx/intel box) === config/init/hints/darwin.pm ================================================================== --- config/init/hints/darwin.pm (revision 5655) +++ config/init/hints/darwin.pm (local) @@ -26,6 +26,8 @@ $ccflags =~ s/-flat_namespace\s*//; $ldflags =~ s/-flat_namespace\s*//; $ldflags .= " -flat_namespace "; + # hide non-exported symbols + $ccflags .= ' -fvisibility=hidden'; $conf->data->set( darwin => 1, @@ -55,7 +57,9 @@ . $conf->data->get('lib_dir') . $conf->data->get('slash') . "libparrot" - . $conf->data->get('share_ext') + . $conf->data->get('share_ext'), + + sym_export => '__attribute__ ((visibility("default")))', ); }