Permalink
Browse files

Update A::B::Authoring to reflect the change in dynamic loading mecha…

…nism
  • Loading branch information...
jberger committed Apr 25, 2012
1 parent 66773d7 commit 1ef6d726332fe222f155825ac9f91879e24b587e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Alien/Base/Authoring.pod
@@ -51,7 +51,7 @@ Additional information can be gotten from the C<config> method.
=head3 Alien::Base for Run-Time Provision
-C<Alien::MyLibrary> must be a subclass of C<Alien::Base>. This provides the C<import> method, which does the run-time provisioning so that when the XS file is loaded, it can find F<libmylibrary.so>. The C<import> method does this by appending to C<$ENV{LD_RUN_PATH}> or your system's equivalent environment variable (PLEASE file a bug if this should fail on your system).
+C<Alien::MyLibrary> must be a subclass of C<Alien::Base>. This provides the C<import> method, which does the run-time provisioning so that when the XS file is loaded, it can find F<libmylibrary.so>. The C<import> method does this by pre-loading the library via C<DynaLoader::dl_load_file> which is a platform-independent wrapper for C<dlopen> or your system's equivalent. It no longer appends to C<$ENV{LD_RUN_PATH}>.
# file: Alien-MyLibrary/lib/Alien/MyLibrary.pm
package Alien::MyLibrary;

0 comments on commit 1ef6d72

Please sign in to comment.