Whole document tree
    

Whole document tree

Debian Perl Policy - Programs Embedding Perl
[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ next ]

Debian Perl Policy
Chapter 5 - Programs Embedding Perl


5.1 Building Embedded Programs

Programs which embed a perl interpreter must declare a Build-Depends on libperl-dev.

The default linker options produced by

     perl -MExtUtils::Embed -e ldopts

will link against the dynamic libperl. If programs wish to link to the static library, then -lperl should be changed to /usr/lib/libperl.a in those options.


5.2 Embedded Perl Dependencies

Dependencies for programs linking against the shared Perl library will be automatically created by dpkg-shlibdeps. Note however that the shared perl library package only suggests perl-base and packages requiring any core modules from the perl package must depend upon it explicitly.


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ A ] [ next ]

Debian Perl Policy

version 1.20
Raphaël Hertzog hertzog@debian.org
Brendan O'Dea bod@debian.org