openbsd-ports/devel/libusb-compat/patches/patch-libusb_pc_in

15 lines
449 B
Plaintext

$OpenBSD: patch-libusb_pc_in,v 1.2 2012/08/25 15:27:40 mpi Exp $
Add missing libusb-1.0 libraries when static linking libusb-compat.
--- libusb.pc.in.orig Thu Jul 29 08:23:48 2010
+++ libusb.pc.in Tue Aug 21 03:49:05 2012
@@ -9,6 +9,7 @@ emulated_by=libusb-1.0
Name: libusb
Description: USB access library (libusb-1.0 compat wrapper)
Version: @LIBUSB01_VERSION@
+Requires.private: libusb-1.0
Libs: -L${libdir} -lusb
Cflags: -I${includedir}