Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing variable assignments to Makefile.PL in a subdirectory
by syphilis (Archbishop) on Dec 26, 2008 at 07:29 UTC | |
|
Re: passing variable assignments to Makefile.PL in a subdirectory
by Anonymous Monk on Dec 25, 2008 at 22:58 UTC |