[oe] [PATCH] introduction of virtual/libusb0
Philip Balister
philip at balister.org
Thu Jun 25 19:49:56 UTC 2009
Koen Kooi wrote:
> On 24-06-09 21:18, Stanislav Brabec wrote:
>> Hallo.
>>
>> I plan to submit attached patch to oe.dev to fix clash of libusb-compat
>> and libusb in recipes by introduction of virtual/libusb0.
>>
>> libusb-compat and libusb provide exactly the same API and ABI using a
>> different back-end, and applications should work with both of them
>> without recompilation.
>
> Why not statically link in the old libusb0 to those broken apps? We do
> that for gnuradio (in a hacky way, but it can be made generic) and it
> works well.
+1
We have made gnuradio build with a private copy of libusb-0.12 and it is
staically linked against this copy. Further clubbing was needed to stop
libtool trying to link apps that used the USRP from linking to the library.
I think there are only a small handful of apps that do not use the
public libusb interface.
Do you have a specific package you are having issues with? Take a look
at the gnuradio.inc file to see how we solved the problem there.
Philip
PS: By solved I mean it builds, I had to leave for Linuxtag before I
could test extensively :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090625/9d2cafdf/attachment-0002.bin>
More information about the Openembedded-devel
mailing list