Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindings: perl: Add an option to explicitly link against libperl.so. #14

Merged
merged 1 commit into from
Jan 20, 2016
Merged

bindings: perl: Add an option to explicitly link against libperl.so. #14

merged 1 commit into from
Jan 20, 2016

Conversation

rakuco
Copy link
Contributor

@rakuco rakuco commented Jan 19, 2016

The Perl binding uses symbols from libperl.so, but since it is always
run after libperl.so itself is loaded, not linking against it does not
cause the problems that would normally occur.

Doing so was mandatory since 5077b75 ("bindings: perl: Do not link
against libperl"), which was catering for distros which install the
binding into vendor_perl and try not to rebuild all their Perl packages
on every Perl update. The flip-side is that it breaks things for other
groups: distros that install the binding into a versioned Perl
directory and allow different Perl versions to be installed
concurrently (for example, FreeBSD), or distros that pass
"--no-undefined" to the linker.

Provide an option, PERL_LINK_LIBPERL (whose default depends on the value
of PERL_VENDORINSTALL), to make the behavior configurable.

The Perl binding uses symbols from libperl.so, but since it is always
run after libperl.so itself is loaded, not linking against it does not
cause the problems that would normally occur.

Doing so was mandatory since 5077b75 ("bindings: perl: Do not link
against libperl"), which was catering for distros which install the
binding into vendor_perl and try not to rebuild all their Perl packages
on every Perl update. The flip-side is that it breaks things for other
groups: distros that install the binding into a versioned Perl
directory and allow different Perl versions to be installed
concurrently (for example, FreeBSD), or distros that pass
"--no-undefined" to the linker.

Provide an option, PERL_LINK_LIBPERL (whose default depends on the value
of PERL_VENDORINSTALL), to make the behavior configurable.
@DimStar77
Copy link
Contributor

👍

No idea what happened to Travis again...

DimStar77 added a commit that referenced this pull request Jan 20, 2016
bindings: perl: Add an option to explicitly link against libperl.so.
@DimStar77 DimStar77 merged commit f3cbcdc into libproxy:master Jan 20, 2016
@rakuco rakuco deleted the optionally-link-against-libperl branch January 20, 2016 08:43
janbrummer added a commit to janbrummer/libproxy that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants