Skip to content

libusb: Fixes .pc files to link to pthread - #2396

Open
monwarez wants to merge 1 commit into
freebsd:mainfrom
monwarez:fixup-missing-pthread-in-libusb-pc
Open

libusb: Fixes .pc files to link to pthread#2396
monwarez wants to merge 1 commit into
freebsd:mainfrom
monwarez:fixup-missing-pthread-in-libusb-pc

Conversation

@monwarez

@monwarez monwarez commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

As seen in the libusb Makefile, libusb is linked with the pthread library.
As a side note, the issue that I was having with this .pc not giving the pthread dependency was due to a broken symlink: /usr/lib/libusb.so -> /usr/lib/libusb.so.3 while there was just /usr/lib/libusb.so.4 .
Maybe we should verify that it won't break stuff while statically linking to /usr/lib/libusb.a

As seen in the libusb Makefile, libusb is linked with the pthread library.

Signed-off-by: Thibault Payet <contact@thibaultpayet.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant