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 09:29:18
|
Quoting Achim Grolms (per...@gr...):
>
> 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),
> .
> .
> .
>
That will work, but you will get duplication on the link line (ugly) and
the warnings from MakeMaker about ignoring (ugly). So on grounds of
beauty I'd not be inclined to hack it that way.
> )
>
> 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 would be a nice solution. I haven't actually looked at the code
that does the IGNOREing, it might let more pass then just -L. It would
be a good solution for everybody that uses krb5-config.
I still would like the specific overrides as well though :-)
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.
|