Re: [Perlgssapi-developer] http://search.cpan.org/~agrolms/GSSAPI-0.14/GSSAPI.pm
Brought to you by:
achimgrolms
|
From: Achim G. <per...@gr...> - 2006-02-09 21:59:20
|
On Thursday 09 February 2006 20:48, Merijn Broeren wrote:
> No, I'd follow the logic of ExtUtils, so split all the -L, -R, -l stuff
> into LIBS and the rest into LDDLFLAGS, together with the flags from
> Config.
That makes my splitter looks like this:
#-------------------------------------------------
sub find_libs_in_krb5config_string {
my ( $confstringstring ) = @_;
my (@libs, @others);
foreach ( split ' ', $confstringstring ) {
if ( m/(-(Wl,-R|[LlR])[^ ]*)/) {
push @libs, $1
} else {
push @others, $_;
}
}
return (\@libs, \@others);
}
#-------------------------------------------------
with @others passed to LDDLFLAGS.
On my Slowlaris test that puts -z (from krb5-config output) into LDDLFLAGS.
Using LDDLFLAGS -z combreloc -z text -z ignore
Should -z
a) better be ignored
or
b) bypassed to LDDLFLAGS?
(My code does (b) now)
Thank you,
Achim
|