* [Buildroot] [git commit] package/openobex: fix static with libusb and libatomic
@ 2022-04-27 19:03 Arnout Vandecappelle
0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2022-04-27 19:03 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=d608368e1a98dd7f41d51214669149115a8f73aa
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Force LibUSB_VERSION_1.0 to ON to fix the following static build failure
with libusb and libatomic:
-- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a
-- Looking for libusb_get_device_list in /nvmedata/autobuild/instance-4/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.a - not found
[...]
/nvmedata/autobuild/instance-4/output-1/build/openobex-1.7.2/lib/transport/usbobex.h:30:10: fatal error: usb.h: No such file or directory
30 | #include <usb.h>
| ^~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/52b0edc4278f65fb4a9671b65c655cc4544a3103
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/openobex/openobex.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/openobex/openobex.mk b/package/openobex/openobex.mk
index bc4a47e3d7..7109bffa8d 100644
--- a/package/openobex/openobex.mk
+++ b/package/openobex/openobex.mk
@@ -20,6 +20,7 @@ OPENOBEX_DEPENDENCIES += bluez5_utils
endif
ifeq ($(BR2_PACKAGE_LIBUSB),y)
+OPENOBEX_CONF_OPTS += -DLibUSB_VERSION_1.0=ON
OPENOBEX_DEPENDENCIES += libusb
endif
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-27 19:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 19:03 [Buildroot] [git commit] package/openobex: fix static with libusb and libatomic Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.