Re: Linking static over dynamic for certain libs.
Bram Moolenaar <[email protected]> Mon, 16 May 2005 22:48:25 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Joey Mukherjee wrote:
> If a program needs a library and one wishes to build with the static
> version instead of the dynamic, is it possible to tell aap to use the
> static over the dynamic one for a particular library? If so, how?
Can't you simply give the static library as a source to the program?
It probably doesn't work with ":program", but it should work when
defining something like:
myprog : `src2obj('source1.c source2.c')` mylib.a
:do build {target = $target} $source
Disclaimer: I didn't try it!
--
Two cows are standing together in a field. One asks the other:
"So what do you think about this Mad Cow Disease?"
The other replies: "That doesn't concern me. I'm a helicopter."
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click