From: Jarkko Hietaniemi Date: Wed, 28 Mar 2001 16:12:45 +0000 (+0000) Subject: Yet another tweak on AIX dynaloading. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a660608e605447cc8d265475a0ccbf29d8ac10f3;p=p5sagit%2Fp5-mst-13.2.git Yet another tweak on AIX dynaloading. p4raw-id: //depot/perl@9409 --- diff --git a/ext/DynaLoader/dl_aix.xs b/ext/DynaLoader/dl_aix.xs index 1f51961..e29c0f8 100644 --- a/ext/DynaLoader/dl_aix.xs +++ b/ext/DynaLoader/dl_aix.xs @@ -72,7 +72,7 @@ # include "/usr/ibmcxx/include/load.h" # elif defined(USE_xlC_load_h) # include "/usr/lpp/xlC/include/load.h" -# else +# elif defined(USE_load_h) # include "/usr/include/load.h" # endif #else diff --git a/ext/DynaLoader/hints/aix.pl b/ext/DynaLoader/hints/aix.pl index b80ba65..d4231cc 100644 --- a/ext/DynaLoader/hints/aix.pl +++ b/ext/DynaLoader/hints/aix.pl @@ -8,7 +8,7 @@ if ($Config{libs} =~ /-lC/ && -f '/lib/libC.a') { $self->{CCFLAGS} .= ' -DUSE_ibmcxx_load_h'; } elsif (-f '/usr/lpp/xlC/include/load.h') { $self->{CCFLAGS} .= ' -DUSE_xlC_load_h'; - } elsif (!-f '/usr/include/load.h') { - $self->{CCFLAGS} = $Config{ccflags}; # Remove again, no + } elsif (-f '/usr/include/load.h') { + $self->{CCFLAGS} .= ' -DUSE_load_h'; } }