I'm building XML::Parser, but I'm not sure if this problem is specific to XML::Parser or applies to MakeMaker in general. It has a top-level Makefile.PL, and another one in a subdirectory - Expat/Makefile.PL. When I run perl Makefile.PL LDFLAGS=... at the top level, both Makefiles get built, but the one in Expat/ doesn't use my LDFLAGS. Expat/Makefile has a comment showing the MakeMaker ARGV, which includes my LDFLAGS, but the actual LDFLAGS Makefile variable only includes the flags from Perl's Config.pm.
Is there something I can do when invoking perl Makefile.PL that will get my LDFLAGS to appear in Expat/Makefile as well as the top-level Makefile?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |