Re:
Re:
- Subject: Re:
- From: Steve Checkoway <email@hidden>
- Date: Thu, 29 Jun 2006 14:41:46 -0700
On Jun 29, 2006, at 2:37 PM, John Weeks wrote:
Steve Checkoway <email@hidden> said:
I sent this a while back, but got no responses, not even,
"there's no
workaround", so I thought I'd try again:
I seem to recall responding to this last time.
I apologize if that's true. I just did a search of my personal
archive of
list digests for "Checkoway". The search shows that you are a very
helpful
fellow, but I didn't find a response to my question. I subscribe to
the
digest; maybe it caused indigestion :)
More likely, I'm misremembering. =)
The key to my problem is your suggestion, with refinements by
Stefan Haller
<email@hidden>, of having a script that runs ranlib
automatically.
Stefan's suggestion is definitely the way to go, at least until gcc
is fixed and this is all moot.
And then Jonas Maebe <email@hidden> asked:
So my question is: how do you make Xcode link against the copy of the
library you make in the shell script?
And I had to figure out the answer to this one already (with help
from this
list). You make a separate target for the shell script, and make
the main
target dependent on it.
I don't think this should be necessary. You'd have to do something
like this if you wanted your project to be rebuilt (or rather
relinked) based on the results of the shell script phase since
dependency calculations are done too early (in my opinion). If you
don't require that (and you probably don't if the library doesn't
change too often) then you can get away with just a shell script
build phase.
I have to do something like that for a build version source file that
gets updated every time I click build but I don't do it for the
libraries.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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