Hello,
On Jan 26, 2011, at 10:09 AM, Ludovic Rousseau wrote:
> I just found the page "SmartCardPKI" [1] on the seek-for-android
> project. The goal is to build OpenSC for Android. They provide a patch
> [2] but I do not remember reading any discussion about it on the
> OpenSC mailing lists. Maybe they do not want to integrate their
> changes upstream.
> 
> So far the changes I have seen are:
> - use dlopen() instead of lt_dlopen()
See #323 [1] for a patch that should do it automagically, while still 
defaulting to libltdl if available. Please test/review.

It needs some more tinkering but is generally usable. Tested with Linux and 
Visual studio. This also improves buildability on Windows, which
now possible directly from  a SVN checkout and only needed ("optional") 
additions are OpenSSL and zlib.

> - direct linking with libpcsclite.so
That should be the next step - defaulting to direct linking, unless it is not 
doable for some reason or specially requested to build a dynamically loadable 
version.
internal-winscard.h should be a fallback to replace the header coming with the 
system. The idea of dynamic loading is nice but in real life syncing it to the 
system implementation or current pcsc specification revision can be a pain.

[1] http://www.opensc-project.org/opensc/ticket/323
-- 
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to