Skip to content

Commit

Permalink
gnupg: amend fix-libusb-include-path.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiHa committed Oct 22, 2016
1 parent 5e21ccc commit 2383ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/security/gnupg/fix-libusb-include-path.patch
Expand Up @@ -5,7 +5,7 @@
$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"; do
+ for _incdir in "" "/usr/include/libusb-1.0" "/usr/local/include/libusb-1.0" "$($PKG_CONFIG --variable=includedir libusb-1.0)/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}"

0 comments on commit 2383ad5

Please sign in to comment.