mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
0b455cec93
See http://lists.gnu.org/archive/html/info-gnu/2018-02/msg00005.html for release information
13 lines
537 B
Diff
13 lines
537 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -8987,8 +8987,7 @@
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libusb include dir" >&5
|
|
$as_echo_n "checking libusb include dir... " >&6; }
|
|
usb_incdir_found="no"
|
|
- for _incdir in "" "/usr/include/libusb-1.0" \
|
|
- "/usr/local/include/libusb-1.0" "/usr/pkg/include/libusb-1.0"; do
|
|
+ for _incdir in "$($PKG_CONFIG --variable=includedir libusb-1.0)/libusb-1.0"; do
|
|
_libusb_save_cppflags=$CPPFLAGS
|
|
if test -n "${_incdir}"; then
|
|
CPPFLAGS="-I${_incdir} ${CPPFLAGS}"
|