Re: Question about dynamic and static libraries
Re: Question about dynamic and static libraries
- Subject: Re: Question about dynamic and static libraries
- From: Bill Northcott <email@hidden>
- Date: Sun, 1 Jan 2006 12:34:35 +1100
On 01/01/2006, at 2:12 AM, Steve Checkoway wrote:
Look at the way Apple do it with open source stuff. They use a
'dst' directory buried in /private/tmp or you home directory.
that way the final install_name path will always be shorter. I
have done this a lot and never had to lengthen a name.
You're right, that does sound like the way to go for that sort of
thing. I'm not completely positive at this point, but I think my
point was that the fact that one has to do this sort of thing at
all is bad.
Of course we can just differ on whether this is good or bad thing.
My perspective is that, used properly. it guarantees that the right
dylib will be used at runtime regardless of how many other versions
may be installed. The alternative of changing the runtime search
paths can break other packages. Install_names can't do that.
I think it is worth the learning curve and slight added complication
for this benefit.
Cheers
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden