On Mon, Jan 25, 2010 at 9:07 AM, Andreas Jellinghaus <[email protected]> 
wrote:
> Am Sonntag 24 Januar 2010 21:45:07 schrieb Alon Bar-Lev:
>> If it is imported from other place, why not just link against it?
>
> what do you exactly propose?
> create a second noinst_ lib in common/ and link it in opensc/ the same
> way we include libcompat.a? fine with me.

No... if the code was copied out of some other project, link against
that project...

> for the implementation: we could simply make the libs we have so far
> "noinst_" libs, and then in pkcs15init/ directory create one huge
> lib with all parts (except pkcs#11), and link opensc-pkcs11 with that,
> or create the big lib in pkcs11/ directory (then containing all
> parts). in tool/ we will need to change the linking, so no "noinst"
> lib is referenced, but only the shared lib we want to install.
> haven't tested that, but it should work that way, I guess.

we can use either, but libtool inject whole archive of noinst library,
so best is create a single shared object.

Alon.
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to