This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Comments for dlopen.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 20 Jul 2014 11:33:12 +0000 (07:33 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 20 Jul 2014 12:22:10 +0000 (08:22 -0400)
t/porting/libperl.t

index a138047..de8e5b5 100644 (file)
@@ -422,9 +422,13 @@ ok(keys %{$symbols{undef}}, "has undefined symbols");
 my @good = qw(memchr memcmp memcpy
               chmod socket getenv sigaction time);
 push @good, $Config{uselongdouble} && $Config{d_sqrtl} ? 'sqrtl' : 'sqrt';
+
+# DynaLoader will use dlopen, unless we are building static,
+# and in the platforms we are supporting in this test.
 if ($Config{usedl}) {
     push @good, 'dlopen';
 }
+
 for my $good (@good) {
     my @o = exists $symbols{undef}{$good} ?
         sort keys %{ $symbols{undef}{$good} } : ();