Re: Building XML-Xerces-2.3.0-3 on Windows
[email protected] (Jason E. Stewart)
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Martin Raspe <[email protected]> writes: > No, on the contrary. When I put the following condition into the hints > file "MsWin32.pl" > > > if ($^O eq 'MSWin32') { > $CFLAGS .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX"; > } Whoops! Sorry I didn't realize that's what you were doing. Here's some help. First, the $^O test is redundant because MsWin32.pl will only get called for win32 in the first place. Also, instead of setting $CFLAGS, it should set $self->{CCFLAGS}, like this: $self->{CCFLAGS} .= " $Config::Config{cppflags} -DHAS_BOOL -TP -GX"; $self is the MakeMaker object hash that stores all the values from the call to WriteMakefile, by setting the object directly, it should be passed to all other Makefile.PL's (in this case, only Handler/Makefile.PL). Please try this change. Thanks again Martin, jas.