We decided to skip this API change for now
[libftdi] / libftdi.pc.in
index 2061b91..f8aaaeb 100644 (file)
@@ -2,11 +2,12 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
+libusb_libs=@LIBUSB_1_0_LIBS@
+libusb_cflags=@LIBUSB_1_0_CFLAGS@
 
 Name: libftdi
 Description: Library to program and control the FTDI USB controller
-Requires:
+Requires: libusb-1.0
 Version: @VERSION@
-Libs: -L${libdir} -lftdi -lusb
-Cflags: -I${includedir}
-
+Libs: -L${libdir} -lftdi ${libusb_libs}
+Cflags: -I${includedir} ${libusb_cflags}