Skip to content

Commit

Permalink
libusb-compat: Revert "libusb-compat: move libraries to base_libdir"
Browse files Browse the repository at this point in the history
Revert commit ed93794 from oe-core:
    libusb-compat: move libraries to base_libdir
    udev links to libusb-compat, and so this library needs to be in
    base_libdir (/lib) instead of libdir (/usr/lib).

The libdir=base_libdir configuration was needed for udev but it's not
the case anymore. Remove it to simplify the recipe.

Signed-off-by: Yoann Congal <[email protected]>
  • Loading branch information
ycongal-smile committed Feb 27, 2023
1 parent 3b2330e commit a17e739
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,3 @@ BINCONFIG = "${bindir}/libusb-config"

inherit autotools pkgconfig binconfig-disabled lib_package

EXTRA_OECONF = "--libdir=${base_libdir}"

do_install:append() {
install -d ${D}${libdir}
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
fi
}

0 comments on commit a17e739

Please sign in to comment.