On 03/15/11 15:23, Alon Levy wrote: > On Tue, Mar 15, 2011 at 08:45:29AM -0500, Anthony Liguori wrote: >> On 03/15/2011 08:14 AM, Alon Levy wrote: >>> >>>> Alternatively the external apps that build against it should be taught >>>> to link with the QEMU version. >>>> >>> That would require me to teach qemu's configure to build libcacard, possibly >>> only libcacard (even though qemu doesn't need a lot of packages by itself, >>> I still wouldn't want apt-get install spice-client to drag in qemu-kvm). >> >> Any reasonable packaging system can generate multiple binary >> packages from a source source package without the binary packages >> being implicit dependent on each other. > > of course, I was just saying it would be easier if qemu's configure system > allowed this.
It's really not far off, most of it is in the Makefiles. You really just need to have a libcacard flag that is enabled per default (and is required if one asks for --enable-smartcard), but can be switched off, as well as a flag to not build the main bits. Patches are welcome :) Cheers, Jes