mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Upstream Perl is going to remove '.' from @INC (the include path for modules) by default for the next major release (= 5.26) [1], as measure to fix security issues. Debian already started backporting the fixes for this [2], thus behaving this way in current Sid installations. Since the affected Perl sources are only the local daemon testing scripts, a simple fix is to force the 'requires' for the local captive-daemon.pm module to start from the current directory: this way there is no need to manually augment @INC, and only our local module is loaded automatically. [1] https://rt.perl.org/Public/Bug/Display.html?id=127810 [2] https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html