Re: [Perlgssapi-developer] http://search.cpan.org/~agrolms/GSSAPI-0.14/GSSAPI.pm
Brought to you by:
achimgrolms
From: Merijn B. <me...@il...> - 2006-02-09 23:12:02
|
Quoting Achim Grolms (per...@gr...): > 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. > That looks fine. > 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) > I'd go with b). It is an interesting question though, since those are the options that were used to build the gssapi C library. Some of them might not be applicable to the Perl library. I just had a look at the man page for Solaris ld and for example '-z ignore' is the opposite of default linker behaviour. Mmmm. In most all cases the options should be fine, so just pass them through. Cheers, -- Merijn Broeren | Sometime in the middle ages, God got fed up with us Software Geek | and put earth at sol.milky-way.univ in his kill-file. | Pray all you want, it just gets junked. |