Skip to content

Commit

Permalink
libusb: Disable static library building
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
pmenzel committed Mar 12, 2018
1 parent aa06bb8 commit d510b58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libusb.be0
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ mee_patch() {
}

mee_configure() {
bee_configure
bee_configure \
--disable-static
}

mee_build() {
Expand Down

0 comments on commit d510b58

Please sign in to comment.