[rt.cpan.org #93295] Overridded xs_c rule can break building

[email protected] ("Graham Knop via RT") Sun, 23 Feb 2014 18:35:35 -0500
Newsgroups perl.libwin32
Message-ID <[email protected]>
Sun Feb 23 18:35:34 2014: Request 93295 was acted upon.
Transaction: Ticket created by haarg
       Queue: Win32-Pipe
     Subject: Overridded xs_c rule can break building
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=93295 >


The overridden xs_c rule specified in Makefile.PL is broken.  It explicitly sets -I paths to the core perl lib directories.  This prioritizes them in @INC, which can break the xsubpp program (from site or elsewhere) as it will load the core ExtUtils::ParseXS module, rather than the one matching the xsubpp program.