Skip to content

Commit

Permalink
libusb-compat: upgrade sources to fix -native build
Browse files Browse the repository at this point in the history
Fixes [YOCTO #15032] by upgrading the source to a commit including the
fix : change SONAME detection source from ldd to objdump

ldd detects used libraries by partially running the target binary. This
is a problem for when the target binary is not runnable
(e.g. cross-compilation).

Switch to objdump which only reads info from the ELF file without
running anything from it.

Signed-off-by: Yoann Congal <[email protected]>
  • Loading branch information
ycongal-smile committed Feb 27, 2023
1 parent a17e739 commit 996778c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SRC_URI = " \
git://github.com/libusb/libusb-compat-0.1.git;protocol=https;branch=master \
file://0001-usb.h-Include-sys-types.h.patch \
"
SRCREV = "88740f0fe497b473c8ef40093ab7daeebfb40eb6"
SRCREV = "c497eff1ae8c4cfd4fdff370f04c78fa0584f4f3"
S = "${WORKDIR}/git"

UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases"
Expand Down

0 comments on commit 996778c

Please sign in to comment.