Used for building a Makefile for a Perl module. Takes a list of libraries
and returns platform-appropriate lines that can be included in the
The input list
is in the form
-llib1 -llib2 -llib3
. Additional library paths may be
included in the form
, which affects
searches for all subsequent libraries. If the Boolean
is specified, verbose output messages are provided. Returns a list of
four scalar values:
List of libraries that need to be linked with
when linking a
Perl binary that includes a static extension.
List of static or dynamic libraries that can or must be linked
when creating a shared library using
Colon-separated list of the directories in LDLOADLIBS.
List of libraries that are needed but can be linked in dynamically
with the DynaLoader at runtime.
The Win32 version (in the standard Perl distribution) has several
differences from the Unix-OS/2 version:
are not required on the library and
Entries must be libraries, not plain object files.
is empty, the return value is also empty.
The specified libraries can include both static and import libraries.
LDLOADLIBS and EXTRALIBS are always identical;
BSLOADLIBS and LD_RUN_PATH are always empty.