On Sat, 12 Nov 2016 18:24:45 +0100 Alex Sassmannshausen <alex.sassmannshau...@gmail.com> wrote:
> Hello, > > Perl, like Python and Guile, uses an environmental variable to make libraries > accessible to binaries. For this purpose, binaries need to be wrapped with an > executable which sets the env variable appropriately. > > This patch implements the same functionality that the Python build side code > already has (I pretty much lifted it from there). > > This works nicely in my tests (a package I will submit once this has been > merged). > > Comments welcome, I don't recall specifically why this hasn't been done all along, but IIRC there was some concern that, perl coming up in so many places as it does, setting the perl environment variable at the application level could adversely pollute the environments of packages farther down. I don't know of any examples where this has actually caused problems, however, so I'd support building a branch and seeing what happens. 2cents, `~Eric