From 9f0e7ad2abce9435db48ea26bf7192c3d0209a0e Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Wed, 31 Dec 2008 15:03:49 -0600 Subject: libusb: create dummy libusb version to pull in libusb-compat instead. See comments in libusb_0.0.0.bb for details on the problem. In a nutshell, set PREFERRED_VERSION_libusb = "0.0.0" for your distro to ensure that libusb-compat and libusb1 is not stomped on by libusb. --- conf/distro/include/slugos.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf/distro') diff --git a/conf/distro/include/slugos.inc b/conf/distro/include/slugos.inc index 40eef63ff8..d46dcf5380 100644 --- a/conf/distro/include/slugos.inc +++ b/conf/distro/include/slugos.inc @@ -243,5 +243,11 @@ PREFERRED_VERSION_m4-native ?= "1.4.8" PREFERRED_VERSION_pkgconfig ?= "0.23" PREFERRED_VERSION_pkgconfig-native ?= "0.23" +# Hack alert - selecting this version of libusb effectively selects +# the use of libusb1 and libusb-compat in the case that something +# still depends on libusb. This is required because otherwise +# libusb will overwrite libusb-compat in staging. +PREFERRED_VERSION_libusb ?= "0.0.0" + require conf/distro/include/sane-srcdates.inc require conf/distro/include/sane-srcrevs.inc -- cgit v1.2.3