Some extensions have the actual extension code in a subfolder of the
toplevel package folder, and as such can't currently be built. For
instance, xhprof has xhprof-x.y.z/extension/config.w32, but we only
check for xhprof-x.y.z/config.w32 and config.w32.
Changing PeclExt::tmp_extract_path to point to the subfolder which
contains ' config.w32` wouldn't work, though, because then the folders
in package.xml won't match anymore. Therefore, we attempt to copy the
whole subfolder one level up, and resume the build process.
Some extensions have the actual extension code in a subfolder of the toplevel package folder, and as such can't currently be built. For instance, xhprof has
xhprof-x.y.z/extension/config.w32
, but we only check forxhprof-x.y.z/config.w32
andconfig.w32
.Changing
PeclExt::tmp_extract_path
to point to the subfolder which contains ' config.w32` wouldn't work, though, because then the folders in package.xml won't match anymore. Therefore, we attempt to copy the whole subfolder one level up, and resume the build process.