Re: Search path for libraries
[email protected] (Roderich Schupp) Tue, 5 May 2020 12:12:04 +0200
| Newsgroups | perl.par |
|---|---|
| Message-ID | <CAC9r9zbxNWpPZxh2ngPSZR1hQQpnP3FP=T+jgG2s4-pPxxPP-Q@mail.gmail.com> |
On Tue, Apr 28, 2020 at 8:39 PM Johan Vromans <[email protected]> wrote: > The packer has a --lib parameter to set the module search path. > Is there something similar for shared libraries? > No. In case you're wondering in which directories "--link foo" (where "foo" is just a name, not a path) searches for "foo.dll" - it's for Windows: File::Spec::path() plus "." for *nix: $Config{libpth} (split on whitespace) plus $ENV{ $Config{ldlibpthname} } (split on $Config{path_sep}) Cheers, Roderich