From 9d0c77e5d54a9c47adefe2778fa897a68fd1561f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 7 Sep 2016 17:54:51 +0200 Subject: [PATCH] libusb: Disable static library building Do not build the static libraries. ``` [BEE] /src/mariux/beeroot/packages/libusb-1.0.19-2.x86_64.bee.tar.bz2 -rw-r--r-- root/system 1169 2016-09-07 17:52 CONTENT -rwxr-xr-x root/system 320 2016-09-07 17:52 BUILD -rw-r--r-- root/system 435 2016-09-07 17:52 META drwxr-xr-x root/system 0 2016-09-07 17:52 /usr/include/libusb-1.0/ -rw-r--r-- root/system 70156 2016-09-07 17:52 /usr/include/libusb-1.0/libusb.h -rw-r--r-- root/system 297 2016-09-07 17:52 /usr/lib/pkgconfig/libusb-1.0.pc -rw-r--r-- root/system 589040 2016-09-07 17:52 /usr/lib/libusb-1.0.a lrwxrwxrwx root/system 0 2016-09-07 17:52 /usr/lib/libusb-1.0.so -> libusb-1.0.so.0.1.0 lrwxrwxrwx root/system 0 2016-09-07 17:52 /usr/lib/libusb-1.0.so.0 -> libusb-1.0.so.0.1.0 -rwxr-xr-x root/system 341632 2016-09-07 17:52 /usr/lib/libusb-1.0.so.0.1.0 [BEE] -> saving bee-file libusb.be0 .. ``` ``` $ ldd /usr/lib/libusb-1.0.so linux-vdso.so.1 (0x00007ffe22b5c000) libudev.so.0 => not found libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff7378e6000) libc.so.6 => /lib/libc.so.6 (0x00007ff73753a000) /lib64/ld-linux-x86-64.so.2 (0x000056413bd22000) $ ldd /usr/lib/libusb-1.0.so linux-vdso.so.1 (0x00007fffa95f3000) libudev.so.1 => /lib/libudev.so.1 (0x00007fab9e9bd000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007fab9e79f000) libc.so.6 => /lib/libc.so.6 (0x00007fab9e3f3000) libresolv.so.2 => /lib/libresolv.so.2 (0x00007fab9e1dc000) libcap.so.2 => /usr/lib/libcap.so.2 (0x00007fab9dfd7000) librt.so.1 => /lib/librt.so.1 (0x00007fab9ddce000) libm.so.6 => /lib/libm.so.6 (0x00007fab9dacd000) /lib64/ld-linux-x86-64.so.2 (0x000055acaf5f5000) ``` --- libusb.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libusb.be0 b/libusb.be0 index 72efeb906..23cf7c1af 100755 --- a/libusb.be0 +++ b/libusb.be0 @@ -15,7 +15,8 @@ mee_patch() { } mee_configure() { - bee_configure + bee_configure \ + --disable-static } mee_build() {