Subject: | Module::Build link failures on HP-UX |
I've had several failures when installing Modules which use Module::Build.
What I've found is ccflags is included from Config.pm, but cccdlflags (cflags for compiling dynamic libs) is not included. Perl on HP-UX sets
cccdlflags to "+Z" for producing relocatable code when building objects for
shared libraries.
My current fix is to expand ccflags to include both $ccflags and
$cccdlflags from Config.pm:
my @ccflags = ($self->split_like_shell($cf->{ccflags}),
$self->split_like_shell($cf->{cccdlflags}));
Your call if you'd rather have an independent config variable.