Skip Menu |
 

From: austinj@mit.edu
Subject: SVN Commit
Applying Apple patch:
DVG-5014262_krb5-config.patch

We need this change when we build for Mac OS X, but this probably isn't appropriate for Kerberos in general. Can this be conditionalized?

Commit By: austinj



Revision: 19836
Changed Files:
U users/austinj/mac-prog_libpath_build_fix/src/krb5-config.in
Show quoted text
> We need this change when we build for Mac OS X, but this probably
> isn't appropriate for Kerberos in general. Can this be
> conditionalized?

What's the intent here? Remove -L options always on the Mac, or specifically avoid -L/usr/lib?
The latter would make sense as a general change, but would involve a little more code.
[raeburn - Fri Aug 24 16:25:51 2007]:

Show quoted text
> > We need this change when we build for Mac OS X, but this probably
> > isn't appropriate for Kerberos in general. Can this be
> > conditionalized?
>
> What's the intent here? Remove -L options always on the Mac, or
> specifically avoid -L/usr/lib?
> The latter would make sense as a general change, but would involve a
> little more code.


The intent is specifically to avoid -L/usr/lib, which is already in the default search path and
sometimes needs to be overridden.
From: raeburn@mit.edu
Subject: SVN Commit
If libdir is /usr/lib, don't add the -L argument to the library flags
to be output.
Commit By: raeburn



Revision: 19879
Changed Files:
U trunk/src/krb5-config.in
[austinj - Fri Aug 24 23:06:11 2007]:
Show quoted text
> The intent is specifically to avoid -L/usr/lib, which is already in
> the default search path and
> sometimes needs to be overridden.

Okay. The patch I just checked in on the trunk seems to do the trick for me in a couple simple
tests. Please let me know if it looks good to you.
Date: Tue, 28 Aug 2007 22:43:49 -0700
From: Austin Jennings <austin.jennings@apple.com>
Subject: Re: [krbdev.mit.edu #5657] (Mac-specific) PROG_LIBPATH build fix
To: rt-comment@krbdev.mit.edu
RT-Send-Cc:
Looks good, thanks.

On Aug 25, 2007, at 2:05 AM, Ken Raeburn via RT wrote:

Show quoted text
> [austinj - Fri Aug 24 23:06:11 2007]:
>> The intent is specifically to avoid -L/usr/lib, which is already in
>> the default search path and
>> sometimes needs to be overridden.
>
> Okay. The patch I just checked in on the trunk seems to do the
> trick for me in a couple simple
> tests. Please let me know if it looks good to you.