mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
fix: not using pkg-config for libusb in order to compile on android
This commit is contained in:
parent
f5d1351987
commit
47e7b2a125
1 changed files with 2 additions and 1 deletions
3
vendor/github.com/google/gousb/libusb.go
generated
vendored
3
vendor/github.com/google/gousb/libusb.go
generated
vendored
|
@ -24,7 +24,8 @@ import (
|
|||
)
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libusb-1.0
|
||||
#cgo LDFLAGS: -lusb-1.0
|
||||
#cgo CFLAGS: -I/usr/include/libusb-1.0
|
||||
#include <libusb.h>
|
||||
|
||||
int gousb_compact_iso_data(struct libusb_transfer *xfer, unsigned char *status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue