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-08 19:08:13
|
On Wednesday 08 February 2006 12:36, Merijn Broeren wrote: > The second problem is more of an issue, the ignoring if the -Wl > arguments. I know, I am thinking on the same problem (ignored linkerparameters) > These are needed at link time, otherwise I don't get a proper > runpath. I can set these using LDDLFLAGS as well as LIBS in > WriteMakefile. My (first shot) idea was to pass the output of a) kr5-config --libs gssapi not only to LIBS but also to WriteMakefile( LIBS => join (' ', @GSSLIBS), LLDDLFLAGS => join (' ', @GSSLIBS), . . . ) or b) split the ouput of kr5-config --libs gssapi to options that LIBS understands (@libs) and options to passed to LLDDLFLAGS (@others) or (@libs, @others) (That makes the warning go away) #-------------------------------------------- sub find_libs_in_krb5config_string { my ( $confstringstring ) = @_; my (@libs, @others); foreach ( split ' ', $confstringstring ) { if ( m/(-[Ll][^ ]+)/) { push @libs, $1 } else { push @others, $_; } } return (\@libs, \@others); } #-------------------------------------------- Does this help with the 2nd problem? |