Am Montag 01 Februar 2010 11:16:42 schrieb Alon Bar-Lev: > Hi, > > I did not understand: > -lib_LTLIBRARIES = libopensc.la > +noinst_LTLIBRARIES = libopensc.la > > why not installing the libopensc? > if you don't a copy of the library will exist in every tool and other > library.
there is a new "libopensc" in pkcs15init/ directory. it is build from the source in libopensc/ scconf/ and libpkcs15init/ (and common/). thus we only export one shared library (libopensc.so), but it has the symbols from all three libraries, and exports those symbols to the tools and opensc-pkcs11.so. tools and opensc-pkcs11.so now don't link with libopensc/libopensc.la or scconf/libscconf.la, but only link with pkcs15init/libopensc.la/so. note: libopensc.so contain the code from common/ too, but doesn't export those symbols. thus opensc-pkcs11.so and tools both include the source from common/ themself. that creates a few extra bytes in the runtimes, but shouldn't hurt otherwise. Good? Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel