In perl.git, the branch hugmeir/sysroot has been created <http://perl5.git.perl.org/perl.git/commitdiff/6f371fca1595d404e29806c2963fd0faad942f1a?hp=0000000000000000000000000000000000000000>
at 6f371fca1595d404e29806c2963fd0faad942f1a (commit) - Log ----------------------------------------------------------------- commit 6f371fca1595d404e29806c2963fd0faad942f1a Author: Jess Robinson <casta...@desert-island.me.uk> Date: Fri Oct 19 19:05:25 2012 +0100 Introduce sysroot variable to Configure This is borrowed from gcc and allows us to indicate the logical root directory for headers and libraries, under which all -I and -L are searched for. This patch adjusts Configure to search under $sysroot (if supplied) for headers and libraries, instead of /. --sysroot is added to ccflags and friends so that make in ExtUtils::MakeMaker, and other extensions, will use it. $libsearchpth is also introduced to track the absolute paths of found libraries. $libpath continues to list the relative paths to pass to -L. Currently this is only done if compiling with some variant of gcc or g++. ----------------------------------------------------------------------- -- Perl5 Master Repository