[xsd-users] link with installed archives?

Boris Kolpackov boris at codesynthesis.com
Thu May 23 19:04:14 EDT 2013


Hi Ray,

Ray Lischner <rlischner at proteuseng.com> writes:

> Using 3.3.0 on Linux, I am trying to build xsd so it links with
> installed versions of archives instead of shared objects. [...]
> 
> This works, but is there an easier way?

The best way is not to have shared versions of the libraries. The
linker is hardcoded to prefer shared over static when both are
available.

You could also override the library search path to only include
static libraries:

make .LIBPATTERNS=lib%.a

This post has more information on this approach:

http://codesynthesis.com/pipermail/xsd-users/2013-January/003822.html

Boris



More information about the xsd-users mailing list