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


Debian Perl Policy
Chapter 6 - Programs Embedding Perl


6.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.


6.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 ] [ 6 ] [ A ] [ next ]


Debian Perl Policy

version 3.9.2.0, 2011-05-01

Raphaël Hertzog
Brendan O'Dea
The Debian Policy mailing list debian-policy@lists.debian.org